combining two plots
显示 更早的评论
I'm a matlab beginner user. I have saved two figures in .m format, how to combine these two figures to make it into one figure?
回答(2 个)
Fangjun Jiang
2011-9-6
It may or may not work depending what is in that .m file. But try this, assume you have file1.m and file2.m
file1;
hold on;
file2;
Hari Krishan
2012-4-10
0 个投票
The hold on worked for me. I was combining a scatter with a plot.
scatter(Xxs,Yxs); hold on; plot(xgrid,ygrid);
类别
在 帮助中心 和 File Exchange 中查找有关 Printing and Saving 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!