Matlab zoom window behavior in recent years
1 view (last 30 days)
I don't remember which version this started, but in recent 4 or 5 years, I have noticed an annoying "feature" of the figure zoom window. You try to drag a window over the part of the figure you want to zoom in on, but there is some sort of "snap" behaviour that tries to "help" you place the window. It prevents for example small window, i.e. it wants to snap to 0 width if you try to make a small zoom window. So you have to make the zoom window larger than maybe you wanted, and do 2 zooms to get there. I have searched a bit and dont see how to change this easily. In a similar vein, you can't seem to zoom outside the limits of the data plotted. For example if I want to zoom in on the srat of an impulse response, I would like the left part of the zoom window to be just slightly before the start of the impulse response. No can do it seems.
Fangjun Jiang on 5 May 2021
That is true but I think there is a benefit. It allows you to do x-only or y-only zoom easily.
Regarding zoom outside of the limit, you just need to start the first point inside the limit. For example, if you want to zoom from the start, you need to draw the window, starting from the top-right corner first and then move towards low-left, and you can place the corner outside of the limit (axes).