1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>FreeMat: AXISPROPERTIES Axis Object Properties</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
$(document).ready(initResizable);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
<div id="projectname">FreeMat
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.1.1 -->
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main Page</span></a></li>
<li class="current"><a href="pages.html"><span>Related Pages</span></a></li>
</ul>
</div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('handle_axisproperties.html','');});
</script>
<div id="doc-content">
<div class="header">
<div class="headertitle">
<div class="title">AXISPROPERTIES Axis Object Properties </div> </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><p>Section: <a class="el" href="sec_handle.html">Handle-Based Graphics</a> </p>
<h1><a class="anchor" id="Usage"></a>
Usage</h1>
<p>Below is a summary of the properties for the axis. </p>
<ul>
<li>
<code>activepositionproperty</code> - <code>four vector</code> - Not used. </li>
<li>
<code>alim</code> - <code>two vector</code> - Controls the mapping of transparency. The vector <code>[a_1,a_2]</code>@ defines the scale for transparency. Plots then map <code>a_1</code> to a completely opaque value, and <code>a_2</code> to a completely transparent value. This mapping is applied to the alpha data of the plot data. </li>
<li>
<code>alimmode</code> - <code>{'auto','manual'}</code> - For <code>auto</code> mode, we map the alpha ranges of all objects in the plot to a full scale. For <code>manual</code> mode, we use the <code>alim</code> vector. </li>
<li>
<code>ambientlightcolor</code> - <code>colorspec</code> - Not used. </li>
<li>
<code>box</code> - <code>On/Off</code> - Not used. </li>
<li>
<code>cameraposition</code> - <code>three vector</code> - Set the position for the camera in axis space. </li>
<li>
<code>camerapositionmode</code> - <code>{'auto','manual'}</code> - For <code>manual</code> mode, the camera position is picked up from the <code>cameraposition</code> vector. For <code>auto</code> mode, the camera position is set to be centered on the <code>x</code> and <code>y</code> axis limits, and beyond the <code>z</code> maximum limit. </li>
<li>
<code>cameratarget</code> - <code>three vector</code> - Defines the point in axis space that the camera is targetted at. </li>
<li>
<code>cameratargetmode</code> - <code>{'auto','manual'}</code> - For <code>manual</code> mode the camera target is picked up from the <code>cameratarget</code> vector. For <code>auto</code> mode, the camera target is chosen to be the center of the three axes. </li>
<li>
<code>cameraupvector</code> - <code>three vector</code> - Defines the upwards vector for the camera (what is ultimately mapped to the vertical axis of the plot or screen). This vector must not be parallel to the vector that is defined by the optical axis (i.e., the one connecting the target to the camera position). </li>
<li>
<code>cameraupvectormode</code> - <code>{'auto','manual'}</code> - For <code>manual</code> mode, the camera up vector is picked up from the <code>cameraupvector</code>. The <code>auto</code> mode chooses the up vector to point along the positive <code>y</code> axis. </li>
<li>
<code>cameraviewangle</code> - <code>scalar</code> - Not used. </li>
<li>
<code>cameraviewanglemode</code> - <code>{'auto','manual'}</code> - Not used. </li>
<li>
<code>children</code> - <code>vector of handles</code> - A vector containing handles to children of the current axis. Be careful as to how you manipulate this vector. FreeMat uses a reference counting mechanism for graphics objects, so if you remove a handle from the <code>children</code> property of an axis, and you have not added it to the <code>children</code> property of another object, it will be deleted. </li>
<li>
<code>clim</code> - <code>two vector</code> - The color range vector. This vector contains two values that dictate how children of this axis get mapped to the colormap. Values between the two endpoints of this vector are mapped to the extremes of the colormap. </li>
<li>
<code>climmode</code> - <code>{'auto','manual'}</code> - For <code>auto</code> mode, the color limits are chosen to span the colordata for all of the children objects. For <code>manual</code> mode, the color mapping is based on <code>clim</code>. </li>
<li>
<code>clipping</code> - <code>{'on','off'}</code> - Not used. </li>
<li>
<code>color</code> - <code>colorspec</code> - The color used to draw the background box for the axes. Defaults to white. </li>
<li>
<code>colororder</code> - <code>color vector</code> - A vector of color specs (in RGB) that are cycled between when drawing line plots into this axis. The default is order blue,green,red,cyan,magenta,yellow,black. </li>
<li>
<code>datalimits</code> - <code>six vector</code> - A vector that contains the x, y and z limits of the data for children of the current axis. Changes to this property are ignored - it is calculated by FreeMat based on the datasets. </li>
<li>
<code>dataaspectratio</code> - <code>three vector</code> - A vector that describes the aspect ratio of the data. You can think of this as the relative scaling of units for each axis. For example, if one unit along the x axis is twice as long as one unit along the y axis, you would specify a data aspect ratio of <code>[2,1,1]</code>. </li>
<li>
<code>dataaspectratiomode</code> - <code>{'auto','manual'}</code> - When the data aspect ratio is set to <code>manual</code>, the data is scaled by the data aspect ratio before being plotted. When the data aspect ratio mode is <code>auto</code> a complex set of rules are applied to determine how the data should be scaled. If <code>dataaspectratio</code> mode is <code>auto</code> and <code>plotboxaspectratio</code> is <code>auto</code>, then the default data aspect ratio is set to <code>[1,1,1]</code> and the default plot box aspect ratio is chosen proportional to <code>[xrange,yrange,zrange]</code>, where <code>xrange</code> is the span of data along the <code>x</code> axis, and similarly for <code>yrange</code> and <code>zrange</code>. If <code>plotboxaspectratio</code> is set to <code>[px,py,pz]</code>, then the <code>dataaspectratio</code> is set to <code>[xrange/px,yrange/py,zrange/pz]</code>. If one of the axes has been specified manually, then the data will be scaled to fit the axes as well as possible. </li>
<li>
<code>fontangle</code> - <code>{'normal','italic','oblique'}</code> - The angle of the fonts used for text labels (e.g., tick labels). </li>
<li>
<code>fontsize</code> - <code>scalar</code> - The size of fonts used for text labels (tick labels). </li>
<li>
<code>fontunits</code> - Not used. </li>
<li>
<code>fontweight</code> - <code>{'normal','bold','light','demi'}</code> - The weight of the font used for tick labels. </li>
<li>
<code>gridlinestyle</code> - <code>{'-','–',':','-.','none'}</code> - The line style to use for drawing the grid lines. Defaults to <code>':'</code>. </li>
<li>
<code>handlevisibility</code> - Not used. </li>
<li>
<code>hittest</code> - Not used. </li>
<li>
<code>interruptible</code> - Not used. </li>
<li>
<code>layer</code> - Not used. </li>
<li>
<code>linestyleorder</code> - <code>linestyle vector</code> - A vector of linestyles that are cycled through when plotted line series. </li>
<li>
<code>linewidth</code> - <code>scalar</code> - The width of line used to draw grid lines, axis lines, and other lines. </li>
<li>
<code>minorgridlinestyle</code> - <code>{'-','–',':','-.','none'}</code> - The line style used for drawing grid lines through minor ticks. </li>
<li>
<code>nextplot</code> - <code>{'add','replace','replacechildren'}</code> - Controls how the next plot interacts with the axis. If it is set to <code>'add'</code> the next plot will be added to the current axis. If it is set to <code>'replace'</code> the new plot replaces all of the previous children. </li>
<li>
<code>outerposition</code> - <code>four vector</code> - Specifies the coordinates of the outermost box that contains the axis relative to the containing figure. This vector is in normalized coordinates and corresponds to the <code>x, y, width, height</code> coordinates of the box. </li>
<li>
<code>parent</code> - <code>handle</code> - The handle for the containing object (a figure). </li>
<li>
<code>plotboxaspectratio</code> - <code>three vector</code> - Controls the aspect ratio of the plot box. See the entry under <code>dataaspectratio</code> for details on how FreeMat uses this vector in combination with the axis limits and the <code>plotboxaspectratio</code> to determine how to scale the data. </li>
<li>
<code>plotboxaspectratiomode</code> - <code>{'auto','manual'}</code> - The plot box aspect ratio mode interacts with the <code>dataaspectratiomode</code> and the axis limits. </li>
<li>
<code>position</code> - <code>fourvector</code> - The normalized coordinates of the plot box space. Should be inside the rectable defined by <code>outerposition</code>. </li>
<li>
<code>positionmode</code> - <code>{'auto','manual'}</code> - the position mode is normally <code>'auto'</code> which means that FreeMat computes the position vector to fit the plot inside the <code>outerposition</code> vector. If you set the <code>position</code> vector manually (using a <code>set</code> command), this <code>mode</code> flag becomes <code>'manual'</code> and remains that way until reset to @|'auto'. </li>
<li>
<code>projection</code> - Not used. </li>
<li>
<code>selected</code> - Not used. </li>
<li>
<code>selectionhighlight</code> - Not used. </li>
<li>
<code>tag</code> - A string that can be set to tag the axes with a name. </li>
<li>
<code>textheight</code> - <code>scalar</code> - This value is set by FreeMat to the height of the current font in pixels. </li>
<li>
<code>tickdir</code> - <code>{'in','out'}</code> - The direction of ticks. Defaults to <code>'in'</code> for 2D plots, and <code>'out'</code> for 3D plots if <code>tickdirmode</code> is <code>auto</code>. </li>
<li>
<code>tickdirmode</code> - <code>{'auto','manual'}</code> - When set to <code>'auto'</code> the <code>tickdir</code> defaults to <code>'in'</code> for 2D plots, and <code>'out'</code> for 3D plots. </li>
<li>
<code>ticklength</code> - <code>two vector</code> - The first element is the length of the tick in 2D plots, and the second is the length of the tick in the 3D plots. The lengths are described as fractions of the longer dimension (width or height). </li>
<li>
<code>tightinset</code> - Not used. </li>
<li>
<code>title</code> - <code>handle</code> - The handle of the label used to represent the title of the plot. </li>
<li>
<code>type</code> - <code>string</code> - Takes the value of <code>'axes'</code> for objects of the axes type. </li>
<li>
<code>units</code> - Not used. </li>
<li>
<code>userdata</code> - <code>array</code> - An arbitrary array you can set to anything you want. </li>
<li>
<code>visible</code> - <code>{'on','off'}</code> - If set to <code>'on'</code> the axes are drawn as normal. If set to <code>'off'</code>, only the children of the axes are drawn. The plot box, axis lines, and tick labels are not drawn. </li>
<li>
<code>xaxislocation</code> - <code>{'top','bottom'}</code> - Controls placement of the x axis. </li>
<li>
<code>yaxislocation</code> - <code>{'left','right'}</code> - Controls placement of the y axis. </li>
<li>
<code>xcolor</code> - <code>colorspec</code> - The color of the x elements including the the x axis line, ticks, grid lines and tick labels </li>
<li>
<code>ycolor</code> - <code>colorspec</code> - The color of the y elements including the the y axis line, ticks, grid lines and tick labels. </li>
<li>
<code>zcolor</code> - <code>colorspec</code> - The color of the z elements including the the z axis line, ticks, grid lines and tick labels. </li>
<li>
<code>xdir</code> - <code>{'normal','reverse'}</code> - For <code>normal</code>, axes are drawn as you would expect (e.g, in default 2D mode, the x axis has values increasing from left to right. For <code>reverse</code>, the x axis has values increasing from right to left. </li>
<li>
<code>ydir</code> - <code>{'normal','reverse'}</code> - For <code>normal</code>, axes are drawn as you would expect (e.g, in default 2D mode, the y axis has values increasing from bottom to top. For <code>reverse</code>, the y axis has values increasing from top to bottom. </li>
<li>
<code>zdir</code> - <code>{'normal','reverse'}</code> - For <code>normal</code>, axes are drawn as you would expect. In default 3D mode, the z axis has values increasing in some direction (usually up). For <code>reverse</code> the z axis increases in the opposite direction. </li>
<li>
<code>xgrid</code> - <code>{'on','off'}</code> - Set to <code>on</code> to draw grid lines from ticks on the x axis. </li>
<li>
<code>ygrid</code> - <code>{'on','off'}</code> - Set to <code>on</code> to draw grid lines from ticks on the y axis. </li>
<li>
<code>zgrid</code> - <code>{'on','off'}</code> - Set to <code>on</code> to draw grid lines from ticks on the z axis. </li>
<li>
<code>xlabel</code> - <code>handle</code> - The handle of the text label attached to the x axis. The position of that label and the rotation angle is computed automatically by FreeMat. </li>
<li>
<code>ylabel</code> - <code>handle</code> - The handle of the text label attached to the y axis. The position of that label and the rotation angle is computed automatically by FreeMat. </li>
<li>
<code>zlabel</code> - <code>handle</code> - The handle of the text label attached to the z axis. The position of that label and the rotation angle is computed automatically by FreeMat. </li>
<li>
<code>xlim</code> - <code>two vector</code> - Contains the limits of the data along the x axis. These are set automatically for <code>xlimmode</code>. When manually set it allows you to zoom into the data. The first element of this vector should be the smallest x value you want mapped to the axis, and the second element should be the largest. </li>
<li>
<code>ylim</code> - <code>two vector</code> - Contains the limits of the data along the y axis. These are set automatically for <code>ylimmode</code>. When manually set it allows you to zoom into the data. The first element of this vector should be the smallest y value you want mapped to the axis, and the second element should be the largest. </li>
<li>
<code>zlim</code> - <code>two vector</code> - Contains the limits of the data along the z axis. These are set automatically for <code>zlimmode</code>. When manually set it allows you to zoom into the data. The first element of this vector should be the smallest z value you want mapped to the axis, and the second element should be the largest. </li>
<li>
<code>xlimmode</code> - <code>{'auto','manual'}</code> - Determines if <code>xlim</code> is determined automatically or if it is determined manually. When determined automatically, it is chosen to span the data range (at least). </li>
<li>
<code>ylimmode</code> - <code>{'auto','manual'}</code> - Determines if <code>ylim</code> is determined automatically or if it is determined manually. When determined automatically, it is chosen to span the data range (at least). </li>
<li>
<code>zlimmode</code> - <code>{'auto','manual'}</code> - Determines if <code>zlim</code> is determined automatically or if it is determined manually. When determined automatically, it is chosen to span the data range (at least). </li>
<li>
<code>xminorgrid</code> - <code>{'on','off'}</code> - Set to <code>on</code> to draw grid lines from minor ticks on the x axis. </li>
<li>
<code>yminorgrid</code> - <code>{'on','off'}</code> - Set to <code>on</code> to draw grid lines from minor ticks on the y axis. </li>
<li>
<code>zminorgrid</code> - <code>{'on','off'}</code> - Set to <code>on</code> to draw grid lines from minor ticks on the z axis. </li>
<li>
<code>xscale</code> - <code>{'linear','log'}</code> - Determines if the data on the x axis is linear or logarithmically scaled. </li>
<li>
<code>yscale</code> - <code>{'linear','log'}</code> - Determines if the data on the y axis is linear or logarithmically scaled. </li>
<li>
<code>zscale</code> - <code>{'linear','log'}</code> - Determines if the data on the z axis is linear or logarithmically scaled. </li>
<li>
<code>xtick</code> - <code>vector</code> - A vector of x coordinates where ticks are placed on the x axis. Setting this vector allows you complete control over the placement of ticks on the axis. </li>
<li>
<code>ytick</code> - <code>vector</code> - A vector of y coordinates where ticks are placed on the y axis. Setting this vector allows you complete control over the placement of ticks on the axis. </li>
<li>
<code>ztick</code> - <code>vector</code> - A vector of z coordinates where ticks are placed on the z axis. Setting this vector allows you complete control over the placement of ticks on the axis. </li>
<li>
<code>xticklabel</code> - <code>string vector</code> - A string vector, of the form <code>'string</code>string|string'| that contains labels to assign to the labels on the axis. If this vector is shorter than <code>xtick</code>, then FreeMat will cycle through the elements of this vector to fill out the labels. </li>
<li>
<code>yticklabel</code> - <code>string vector</code> - A string vector, of the form <code>'string</code>string|string'| that contains labels to assign to the labels on the axis. If this vector is shorter than <code>ytick</code>, then FreeMat will cycle through the elements of this vector to fill out the labels. </li>
<li>
<code>zticklabel</code> - <code>string vector</code> - A string vector, of the form <code>'string</code>string|string'| that contains labels to assign to the labels on the axis. If this vector is shorter than <code>ztick</code>, then FreeMat will cycle through the elements of this vector to fill out the labels. </li>
<li>
<code>xtickmode</code> - <code>{'auto','manual'}</code> - Set to <code>'auto'</code> if you want FreeMat to calculate the tick locations. Setting <code>'xtick'</code> will cause this property to switch to <code>'manual'</code>. </li>
<li>
<code>ytickmode</code> - <code>{'auto','manual'}</code> - Set to <code>'auto'</code> if you want FreeMat to calculate the tick locations. Setting <code>'ytick'</code> will cause this property to switch to <code>'manual'</code>. </li>
<li>
<code>ztickmode</code> - <code>{'auto','manual'}</code> - Set to <code>'auto'</code> if you want FreeMat to calculate the tick locations. Setting <code>'ztick'</code> will cause this property to switch to <code>'manual'</code>. </li>
<li>
<code>xticklabelmode</code> - <code>{'auto','manual'}</code> - Set to <code>'auto'</code> if you want FreeMat to set the tick labels. This will be based on the vector <code>xtick</code>. </li>
<li>
<code>yticklabelmode</code> - <code>{'auto','manual'}</code> - Set to <code>'auto'</code> if you want FreeMat to set the tick labels. This will be based on the vector <code>ytick</code>. </li>
<li>
<code>zticklabelmode</code> - <code>{'auto','manual'}</code> - Set to <code>'auto'</code> if you want FreeMat to set the tick labels. This will be based on the vector <code>ztick</code>. </li>
</ul>
</div></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="index.html">FreeMat Documentation</a></li><li class="navelem"><a class="el" href="sec_handle.html">Handle-Based Graphics</a></li>
<li class="footer">Generated on Thu Jul 25 2013 18:58:17 for FreeMat by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.1.1 </li>
</ul>
</div>
</body>
</html>
|