12.07.2015 Views

MATLAB Function Reference (Volume 2: Graphics)

MATLAB Function Reference (Volume 2: Graphics)

MATLAB Function Reference (Volume 2: Graphics)

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.

pbaspectPurpose2pbaspectSet or query the plot box aspect ratioSyntaxDescriptionpbaspectpbaspect([aspect_ratio])pbaspect('mode')pbaspect('auto')pbaspect('manual')pbaspect(axes_handle,...)The plot box aspect ratio determines the relative size of the x-, y-, and z-axes.pbaspect with no arguments returns the plot box aspect ratio of the currentaxes.pbaspect([aspect_ratio]) sets the plot box aspect ratio in the current axesto the specified value. Specify the aspect ratio as three relative valuesrepresenting the ratio of the x-, y-, and z-axes size. For example, a value of[1 1 1] (the default) means the plot box is a cube (although with stretch-to-fillenabled, it may not appear as a cube). See Remarks.pbaspect('mode') returns the current value of the plot box aspect ratio mode,which can be either auto (the default) or manual. See Remarks.pbaspect('auto') sets the plot box aspect ratio mode to auto.pbaspect('manual') sets the plot box aspect ratio mode to manual.pbaspect(axes_handle,...) performs the set or query on the axes identifiedby the first argument, axes_handle. If you do not specify an axes handle,pbaspect operates on the current axes.Remarkspbaspect sets or queries values of the axes object PlotBoxAspectRatio andPlotBoxAspectRatioMode properties.When the plot box aspect ratio mode is auto, <strong>MATLAB</strong> sets the ratio to[1 1 1], but may change it to accommodate manual settings of the data aspectratio, camera view angle, or axis limits. See the axes DataAspectRatioproperty for a table listing the interactions between various properties.2-341

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

Saved successfully!

Ooh no, something went wrong!