>>>>> "Shin" == Shin <sd...@em...> writes:
Shin> Currently, figure() is the same as figure(1). But, I think
Shin> a better behavior of figure is: figure() is the same as
Shin> figure(n+1) where n is the maximum handle number of opened
Shin> figures. So, figure() always creates a new figure. This is
Shin> exactly MATLAB is doing. Any comment?
Looks like a bug - thanks.
Is anybody relying on the fact the figure() currently returns the
current figure if it exists? This is basically the role of gcf,
anyway, which creates a figure none exists and returns it, otherwise
it returns the current figure.
So figure should auto-increment, as you suggest.
JDH
|