It also displays the current mouse cursor position.
By default, the function zooms to 50% of the image in the axis.
Without arguments, will activate the current axis, create a text box showing the current position of the mouse pointer (similar to pixval), and automatically zoom the image to the location of the cursor as it is moved.
The zoomed display dynamically scrolls with the motion of the cursor.
Left-clicking will zoom in further, and right-clicking will zoom out.
Middle-clicking (or simultaneously clicking the left and right mouse buttons) at any point will display the original (un-zoomed) image, as will moving the cursor outside of the current axis. The zoom percentage is restored when the mouse is moved.
Double-clicking zooms out to the original image, modifying the zoom percentage.