axes
Create Cartesian axes
Description
axes
creates the default Cartesian axes
in the current figure and makes it the current axes. Typically, you
do not need to create axes before plotting since graphics functions
automatically create axes when plotting if they do not exist.
axes(
modifies
the axes appearance or controls the way data displays using one or
more name-value pair arguments. For example, Name,Value
)'FontSize',14
sets
the font size for the axes text. For a list of properties, see Axes Properties.
axes(
creates
the axes in the figure, panel, or tab specified by parent
,Name,Value
)parent
,
instead of in the current figure.
returns
the ax
= axes(___)Axes
object created. Use ax
to
query and modify properties of the Axes
object after
it is created. For a list of properties, see Axes Properties.
axes(
sets the cax
)CurrentAxes
property of the parent figure to be cax
. If the
HandleVisibilty
property of the parent figure is set to
"on"
, then cax
also becomes the current axes. This
command also makes cax
the first object listed in the
Children
property of the parent object. The parent
object is typically a figure or a tiled chart layout.
Examples
Input Arguments
More About
Version History
Introduced before R2006a