Why does the zoom property get disabled if I add points to my plot after I enable the zoom property?
If I set the 'zoom' property of a figure to 'on' and then hold the plot and plot something else to the figure, the zoom property of the figure automatically gets disabled. Is this the intended behavior of the zoom command?
To reproduce the problem please run the following commands (one at a time) and observe the zoom state on the figure toolbar.
surf(peaks)hold onzoom onplot(1:10)
Note that after step 4, the zoom state gets disabled automatically.
I am not sure if this behavior is intended, or if it is a bug.
Best Answer