Next: Line Properties, Previous: Figure Properties, Up: Graphics Object Properties

##### 15.3.3.3 Axes Properties

The `axes` properties are:

`__modified__`
`__myhandle__`
`activepositionproperty`
`alim`
`alimmode`
`ambientlightcolor`
`beingdeleted`
`box`
  Box surrounding axes. — Values: "on," "off"
`busyaction`
`buttondownfcn`
`cameraposition`
`camerapositionmode`
`cameratarget`
`cameratargetmode`
`cameraupvector`
`cameraupvectormode`
`cameraviewangle`
`cameraviewanglemode`
`children`
`clim`
  Two-element vector defining the limits for the c axis of an image. See `pcolor` property. Setting this property also forces the corresponding mode property to be set to `"manual"`.
`climmode`
  Either `"manual"` or `"auto"`.
`clipping`
`color`
`colororder`
`createfcn`
`currentpoint`
  Holds the coordinates of the point over which the mouse pointer was when the mouse button was pressed. If a mouse callback function is defined, `"currentpoint"` holds the coordinates of the point over which the mouse pointer is when the function gets called.
`dataaspectratio`
  A two-element vector specifying the relative height and width of the data displayed in the axes. Setting `dataaspectratio` to ‘`1, 2]`’ causes the length of one unit as displayed on the y-axis to be the same as the length of 2 units on the x-axis. Setting `dataaspectratio` also forces the `dataaspectratiomode` property to be set to `"manual"`.
`dataaspectratiomode`
  Either `"manual"` or `"auto"`.
`deletefcn`
`drawmode`
`fontangle`
`fontname`
`fontsize`
`fontunits`
`fontweight`
`gridlinestyle`
`handlevisibility`
`hittest`
`interpreter`
`interruptible`
`key`
  Toggle display of the legend. — Values: "on," "off" Note that this property is not compatible with matlab and may be removed in a future version of Octave.
`keybox`
  Toggle display of a box around the legend. — Values: "on," "off" Note that this property is not compatible with matlab and may be removed in a future version of Octave.
`keypos`
  An integer from 1 to 4 specifying the position of the legend. 1 indicates upper right corner, 2 indicates upper left, 3 indicates lower left, and 4 indicates lower right. Note that this property is not compatible with matlab and may be removed in a future version of Octave.
`keyreverse`
`layer`
`linestyleorder`
`linewidth`
`minorgridlinestyle`
`nextplot`
  May be one of
  `"new"`
  `"add"`
  `"replace"`
  `"replacechildren"`
`outerposition`
  A vector specifying the position of the plot, including titles, axes and legend. The four elements of the vector are the coordinates of the lower left corner and width and height of the plot, in units normalized to the width and height of the plot window. For example, `[0.2, 0.3, 0.4, 0.5]` sets the lower left corner of the axes at (0.2, 0.3) and the width and height to be 0.4 and 0.5 respectively. See also the `position` property.
`parent`
`plotboxaspectratio`
`plotboxaspectratiomode`
`position`
  A vector specifying the position of the plot, excluding titles, axes and legend. The four elements of the vector are the coordinates of the lower left corner and width and height of the plot, in units normalized to the width and height of the plot window. For example, `[0.2, 0.3, 0.4, 0.5]` sets the lower left corner of the axes at (0.2, 0.3) and the width and height to be 0.4 and 0.5 respectively. See also the `outerposition` property.
`projection`
`selected`
`selectionhighlight`
`tag`
`tickdir`
`tickdirmode`
`ticklength`
`tightinset`
`title`
  Index of text object for the axes title.
`type`
`uicontextmenu`
`units`
`userdata`
`view`
  A three element vector specifying the view point for three-dimensional plots.
`visible`
  Either `"on"` or `"off"` to toggle display of the axes.
`x_normrendertransform`
`x_projectiontransform`
`x_rendertransform`
`x_viewporttransform`
`x_viewtransform`
`xaxislocation`
  Either `"top"` or `"bottom"`.
`xcolor`
`xdir`
  Either `"forward"` or `"reverse"`.
`xgrid`
  Either `"on"` or `"off"` to toggle display of grid lines.
`xlabel`
  Indices to text objects for the axes labels.
`xlim`
  Two-element vector defining the limits for the x-axis. Setting this property also forces the corresponding mode property to be set to `"manual"`.
`xlimmode`
  Either `"manual"` or `"auto"`.
`xminorgrid`
  Either `"on"` or `"off"` to toggle display of minor grid lines.
`xminortick`
`xscale`
  Either `"linear"` or `"log"`.
`xtick`
  Set position of tick marks. Setting this property also forces the corresponding mode property to be set to `"manual"`.
`xticklabel`
  Setting this property also forces the corresponding mode property to be set to `"manual"`.
`xticklabelmode`
  Either `"manual"` or `"auto"`.
`xtickmode`
  Either `"manual"` or `"auto"`.
`yaxislocation`
  Either `"left"` or `"right"`
`ycolor`
`ydir`
  Either `"forward"` or `"reverse"`.
`ygrid`
  Either `"on"` or `"off"` to toggle display of grid lines.
`ylabel`
  Indices to text objects for the axes labels.
`ylim`
  Two-element vectors defining the limits for the x, y, and z axes and the Setting one of these properties also forces the corresponding mode property to be set to `"manual"`.
`ylimmode`
  Either `"manual"` or `"auto"`.
`yminorgrid`
  Either `"on"` or `"off"` to toggle display of minor grid lines.
`yminortick`
`yscale`
  Either `"linear"` or `"log"`.
`ytick`
  Set position of tick marks. Setting this property also forces the corresponding mode property to be set to `"manual"`.
`yticklabel`
  Setting this property also forces the corresponding mode property to be set to `"manual"`.
`yticklabelmode`
  Either `"manual"` or `"auto"`.
`ytickmode`
  Either `"manual"` or `"auto"`.
`zcolor`
`zdir`
  Either `"forward"` or `"reverse"`.
`zgrid`
  Either `"on"` or `"off"` to toggle display of grid lines.
`zlabel`
  Indices to text objects for the axes labels.
`zlim`
  Two-element vector defining the limits for z-axis. Setting this property also forces the corresponding mode property to be set to `"manual"`.
`zlimmode`
  Either `"manual"` or `"auto"`.
`zminorgrid`
  Either `"on"` or `"off"` to toggle display of minor grid lines.
`zminortick`
`zscale`
  Either `"linear"` or `"log"`.
`ztick`
  Set position of tick marks. Setting this property also forces the corresponding mode property to be set to `"manual"`.
`zticklabel`
  Setting this property also forces the corresponding mode property to be set to `"manual"`.
`zticklabelmode`
  Either `"manual"` or `"auto"`.
`ztickmode`
  Either `"manual"` or `"auto"`.