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
Fangjun Jiang 2011년 9월 6일

0 개 추천

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
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에 대해 자세히 알아보기

질문:

2011년 9월 6일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by