In a figure window toolbar, there are spyglass icons that let you zoom in and out on parts of an image or plot. I'd like to know how to do this programmatically.
Prashant Kumar answered .
2025-11-20
zoom on zoom off zoom out zoom reset zoom xon zoom yon zoom(factor) zoom(fig, option) h = zoom(figure_handle)