I have a octave script which is as follows.
# some lines
figure(1)
plot something here
# more lines
figure(2)
plot something here
The disadvantage with this approach is that, If I rerun the script (after
making some changes), the previous graphs are overwritten. Is there any way
to do something like
# some lines
figure(current figure number + 1)
plot something here
# more lines
figure(current figure number + 1)
plot something here
This way, If I make changes in the script and rerun it, the old figures will
not be overwritten and will be plotted in new windows. Is this possible in
octave? I am using Debian Etch, octave 2.9.9.
I have searched in the octave documentation and in goodle but could not find
anything there.
thanks
raju