How can I numbering 1000 of figures?

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

1000 figures!!!
I just use one figure, and change what is shown on it. Much simpler.
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.
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.
Hi Stephen and dpb I got it, I used title(i); (i=1:1000); Thanks
"...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.

Sign in to comment.

Answers (0)

Asked:

on 30 May 2017

Commented:

dpb
on 31 May 2017

Community Treasure Hunt

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

Start Hunting!