How to save multiple plots/ figures
8 views (last 30 days)
Show older comments
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
0 Comments
Answers (1)
the cyclist
on 7 Dec 2011
A similar question was asked and answered here
so you might try one of those solutions.
0 Comments
See Also
Categories
Find more on Printing and Saving in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!