Hello,
Suppose I create a matplotlib figure and plot things in it.
In pylab it would be like:
from pylab import *
figure(1)
plot([1,2,3],[1,2,3],‘r*’,label=‘label1’)
plot([1,2,3],[2,3,4],‘r’,label=‘label2’)
legend(loc=‘upper right’)
text(1.2,3,‘nice figure’)
xlabel(‘xlabel’)
ylabel(‘ylabel’)
show()
Now, after creating figure(1), I would like to make figure(2) that is completely identical to figure(1).
is this possible?
Does anyone know how?
Thanks,
Eli