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 Properties<br />

define object handles as global variables or pass them as arguments between<br />

callback routines.<br />

For example, suppose you want to direct all graphics output from an M-file to<br />

a particular axes, regardless of user actions that may have changed the current<br />

axes. To do this, identify the axes with a Tag:<br />

axes('Tag','Special Axes')<br />

Then make that axes the current axes before drawing by searching for the Tag<br />

with findobj:<br />

axes(findobj('Tag','Special Axes'))<br />

TickDir in | out<br />

Direction of tick marks. For 2-D views, the default is to direct tick marks<br />

inward from the axis lines; 3-D views direct tick marks outward from the axis<br />

line.<br />

TickDirMode {auto} | manual<br />

Automatic tick direction control. In auto mode, <strong>MATLAB</strong> directs tick marks<br />

inward for 2-D views and outward for 3-D views. When you specify a setting for<br />

TickDir, <strong>MATLAB</strong> sets TickDirMode to manual. In manual mode, <strong>MATLAB</strong><br />

does not change the specified tick direction.<br />

TickLength [2DLength 3DLength]<br />

Length of tick marks. A two-element vector specifying the length of axes tick<br />

marks. The first element is the length of tick marks used for 2-D views and the<br />

second element is the length of tick marks used for 3-D views. Specify tick mark<br />

lengths in units normalized relative to the longest of the visible X-, Y-, or Z-axis<br />

annotation lines.<br />

Title handle of text object<br />

Axes title. The handle of the text object that is used for the axes title. You can<br />

use this handle to change the properties of the title text or you can set Title to<br />

the handle of an existing text object. For example, the following statement<br />

changes the color of the current title to red:<br />

set(get(gca,'Title'),'Color','r')<br />

To create a new title, set this property to the handle of the text object you want<br />

to use:<br />

2-111

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

Saved successfully!

Ooh no, something went wrong!