How can I numbering 1000 of figures?
Show older comments
Hello All,
I would like to get number for all figures to ease reach them. I do have about 1000 figures, I am using subplot (each one has 15 plots), so I want to numbering each plot from 1-1000. Any help would be so appreciated,
Thank in advance;
Riyadh
5 Comments
Stephen23
on 30 May 2017
1000 figures!!!
I just use one figure, and change what is shown on it. Much simpler.
dpb
on 30 May 2017
Agree with Stephen on the organization, but just save an array (or an array of arrays depending on what you actually mean by "figure" here) when creating them.
Rik
on 30 May 2017
You can save handles to the axes (the plot area of a plot/subplot), so then you would have a vector with 1000 elements.
But you should think really hard if you actually do need to create so many separate figures/subplots.
Riyadh Muttaleb
on 30 May 2017
dpb
on 31 May 2017
"...used title(i); (i=1:1000)"
Don't use title as a variable (particularly when plotting is part of the task); it's the builtin function for putting a title on a plot; aliasing it will lose that functionality until the variable is clear ed.
Answers (0)
Categories
Find more on Subplots 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!