axis
- :
lim =axis()¶ - : axis
([xmin xmax ymin ymax])¶ - : axis
([xmin xmax ymin ymax zmin zmax])¶ - : axis
([… cmin cmax])¶ - : axis
option¶ - : axis
(ax, …)¶ Query or set axes limits, aspect ratio and visibility.
Without arguments the limits are returned: [xmin xmax ymin ymax] for a 2-D view and with the z limits appended otherwise. A numeric vector with 2 (x only), 4, 6 or 8 elements sets the x, y, z and color limits in that order (infinite entries leave that side automatic). Several option strings may be combined, later ones overriding earlier ones:
- auto, auto x, auto yz, …
limits computed from the data again (for all or the named axes)
- manual
freeze the present limits
- tight, padded, tickaligned
choose how the limits relate to the data range
- equal
same data unit length along all axes
- image
‘equal’ with tight limits
- square
square plot box
- vis3d
freeze aspect ratios so the view can be rotated
- normal, fill
automatic aspect ratios again
- ij, xy
matrix coordinates (y runs downward) or Cartesian coordinates
- on, off
show or hide the axes