combining two plots
Afficher commentaires plus anciens
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?
Réponses (2)
Fangjun Jiang
le 6 Sep 2011
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
le 10 Avr 2012
0 votes
The hold on worked for me. I was combining a scatter with a plot.
scatter(Xxs,Yxs); hold on; plot(xgrid,ygrid);
Catégories
En savoir plus sur Printing and Saving dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!