How to save multiple plots/ figures

11 次查看(过去 30 天)
Hi All, I want to know how to save multiple plots in single pdf file automatically.Suppose, I am getting finite number of plots as:
for i=1:10 f=figure, plot(x1,y1,'r-',x2,y2,'b-',x3,y3,'k-')..... saveas(f,'plot123.pdf','pdf'); end
but it save only i=10th plot.
Thanks! Keshav

回答(1 个)

the cyclist
the cyclist 2011-12-7
A similar question was asked and answered here
so you might try one of those solutions.

类别

Help CenterFile Exchange 中查找有关 Printing and Saving 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by