23.12.2012 Views

MATLAB Function Reference Volume 1: A - E - Bad Request

MATLAB Function Reference Volume 1: A - E - Bad Request

MATLAB Function Reference Volume 1: A - E - Bad Request

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

axes<br />

2axes<br />

Purpose Create axes graphics object<br />

Syntax axes<br />

axes('PropertyName',PropertyValue,...)<br />

axes(h)<br />

h = axes(...)<br />

Description axes is the low-level function for creating axes graphics objects.<br />

2-84<br />

axes creates an axes graphics object in the current figure using default<br />

property values.<br />

axes('PropertyName',PropertyValue,...) creates an axes object having the<br />

specified property values. <strong>MATLAB</strong> uses default values for any properties that<br />

you do not explicitly define as arguments.<br />

axes(h) makes existing axes h the current axes. It also makes h the first axes<br />

listed in the figure’s Children property and sets the figure’s CurrentAxes<br />

property to h. The current axes is the target for functions that draw image, line,<br />

patch, surface, and text graphics objects.<br />

h = axes(...) returns the handle of the created axes object.<br />

Remarks <strong>MATLAB</strong> automatically creates an axes, if one does not already exist, when<br />

you issue a command that draws image, light, line, patch, surface, or text<br />

graphics objects.<br />

The axes function accepts property name/property value pairs, structure<br />

arrays, and cell arrays as input arguments (see the set and get commands for<br />

examples of how to specify these data types). These properties, which control<br />

various aspects of the axes object, are described in the “Axes Properties”<br />

section.<br />

Use the set function to modify the properties of an existing axes or the get<br />

function to query the current values of axes properties. Use the gca command<br />

to obtain the handle of the current axes.<br />

The axis (not axes) function provides simplified access to commonly used<br />

properties that control the scaling and appearance of axes.

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

Saved successfully!

Ooh no, something went wrong!