Currently, figure() is the same as figure(1). But, I think
> a better behavior of figure is: figure() is the same as
> figure(n+1) where n is the maximum handle number of opened
> figures. So, figure() always creates a new figure. This is
> 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