- #1
Raging Dragon
- 6
- 0
I have a for loop spitting out 60 graphs that I have to save to a file. I have to rename them anyways, so saving them by hand is not the issue. I'm wanting know how to maximize the screen and iteratively name the figures.
i.e. my code looks like
for i = 1:30
(stuff)
figure(i)
do more stuff
figure(100*i)
do other stuff
end
I came across this old thread https://www.physicsforums.com/showthread.php?t=187887 which was helpful, but doesn't fully answer what I want to do because:
figure(1,'Position',[0 0 1680 1050])
or
figure(1,[0 0 1680 1050])
obviously returns the error
? Error using ==> figure
Too many input arguments.
i.e. my code looks like
for i = 1:30
(stuff)
figure(i)
do more stuff
figure(100*i)
do other stuff
end
I came across this old thread https://www.physicsforums.com/showthread.php?t=187887 which was helpful, but doesn't fully answer what I want to do because:
figure(1,'Position',[0 0 1680 1050])
or
figure(1,[0 0 1680 1050])
obviously returns the error
? Error using ==> figure
Too many input arguments.