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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

patchRootFigureAxesUicontrolUimenuUicontextmenuImageLightLinePatchRectangleSurfaceTextSetting Default PropertiesYou can set default patch properties on the axes, figure, and root levels.set(0,'DefaultPatchPropertyName',PropertyValue...)set(gcf,'DefaultPatchPropertyName',PropertyValue...)set(gca,'DefaultPatchPropertyName',PropertyValue...)PropertyName is the name of the patch property and PropertyValue is the valueyou are specifying. Use set and get to access patch properties.Property ListThe following table lists all patch properties and provides a brief description ofeach. The property name links take you to an expanded description of theproperties.Property Name Property Description Property ValueData Defining the ObjectFaces Connection matrix for Vertices Values: m-by-n matrixDefault: [1,2,3]VerticesXDataYDataMatrix of x-, y-, and z-coordinates ofthe vertices (used with Faces)The x-coordinates of the vertices ofthe patchThe y-coordinates of the vertices ofthe patchValues: matrixDefault: [0,1;1,1;0,0]Values: vector or matrixDefault: [0;1;0]Values: vector or matrixDefault: [1;1;0]2-319

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

Saved successfully!

Ooh no, something went wrong!