12.07.2015 Views

MATLAB Function Reference (Volume 2: Graphics)

MATLAB Function Reference (Volume 2: Graphics)

MATLAB Function Reference (Volume 2: Graphics)

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

zoomPurpose2zoomZoom in and out on a 2-D plotSyntaxDescriptionzoom onzoom offzoom outzoom resetzoomzoom xonzoom yonzoom(factor)zoom(fig, option)zoom on turns on interactive zooming. When interactive zooming is enabled ina figure, pressing a mouse button while your cursor is within an axes zoomsinto the point or out from the point beneath the mouse. Zooming changes theaxes limits.• For a single-button mouse, zoom in by pressing the mouse button and zoomout by simultaneously pressing Shift and the mouse button.• For a two- or three-button mouse, zoom in by pressing the left mouse buttonand zoom out by pressing the right mouse button.Clicking and dragging over an axes when interactive zooming is enabled drawsa rubber-band box. When the mouse button is released, the axes zoom in to theregion enclosed by the rubber-band box.Double-clicking over an axes returns the axes to its initial zoom setting.zoom off turns interactive zooming off.zoom out returns the plot to its initial zoom setting.zoom reset remembers the current zoom setting as the initial zoom setting.Later calls to zoom out, or double-clicks when interactive zoom mode isenabled, will return to this zoom level.zoom toggles the interactive zoom status.zoom xon and zoom yon set zoom on for the x- and y-axis, respectively.2-592

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!