#### 15.2.6 Manipulation of Plot Objects

Command: pan
Command: pan on
Command: pan off
Command: pan xon
Command: pan yon
Function File: pan (hfig, option)

  Control the interactive panning mode of a figure in the GUI.

  Given the option `"on"` or `"off"`, set the interactive pan mode on or off.

  With no arguments, toggle the current pan mode on or off.

  Given the option `"xon"` or `"yon"`, enable pan mode for the x or y axis only.

  If the first argument hfig is a figure, then operate on the given figure rather than the current figure as returned by `gcf`.

  See also: rotate3d, zoom.

Function File: rotate (h, dir, alpha)
Function File: rotate (…, origin)

  Rotate the plot object h through alpha degrees around the line with direction dir and origin origin.

  The default value of origin is the center of the axes object that is the parent of h.

  If h is a vector of handles, they must all have the same parent axes object.

  Graphics objects that may be rotated are lines, surfaces, patches, and images.

Command: rotate3d
Command: rotate3d on
Command: rotate3d off
Function File: rotate3d (hfig, option)

  Control the interactive 3-D rotation mode of a figure in the GUI.

  Given the option `"on"` or `"off"`, set the interactive rotate mode on or off.

  With no arguments, toggle the current rotate mode on or off.

  If the first argument hfig is a figure, then operate on the given figure rather than the current figure as returned by `gcf`.

  See also: pan, zoom.

Command: zoom
Command: zoom (factor)
Command: zoom on
Command: zoom off
Command: zoom xon
Command: zoom yon
Command: zoom out
Command: zoom reset
Command: zoom (hfig, option)

  Zoom the current axes object or control the interactive zoom mode of a figure in the GUI.

  Given a numeric argument greater than zero, zoom by the given factor. If the zoom factor is greater than one, zoom in on the plot. If the factor is less than one, zoom out. If the zoom factor is a two- or three-element vector, then the elements specify the zoom factors for the x, y, and z axes respectively.

  Given the option `"on"` or `"off"`, set the interactive zoom mode on or off.

  With no arguments, toggle the current zoom mode on or off.

  Given the option `"xon"` or `"yon"`, enable zoom mode for the x or y axis only.

  Given the option `"out"`, zoom to the initial zoom setting.

  Given the option `"reset"`, store the current zoom setting so that `zoom out` will return to this zoom level.

  If the first argument hfig is a figure, then operate on the given figure rather than the current figure as returned by `gcf`.

  See also: pan, rotate3d.