[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
assign figure numbers incrementally
From: |
Kamaraju S Kusumanchi |
Subject: |
assign figure numbers incrementally |
Date: |
Mon, 23 Jul 2007 14:07:21 -0400 |
User-agent: |
KNode/0.10.4 |
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
--
Kamaraju S Kusumanchi
http://www.people.cornell.edu/pages/kk288/
http://malayamaarutham.blogspot.com/
- assign figure numbers incrementally,
Kamaraju S Kusumanchi <=