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.

Surface PropertiesMarkerSize size in pointsMarker size. A scalar specifying the marker size, in points. The default valuefor MarkerSize is six points (1 point = 1/72 inch). Note that <strong>MATLAB</strong> draws thepoint marker at 1/3 the specified marker size.MeshStyle{both} | row | columnRow and column lines. This property specifies whether to draw all edge linesor just row or column edge lines.• both draws edges for both rows and columns.• row draws row edges only.• column draws column edges only.NormalMode{auto} | manual<strong>MATLAB</strong> -generated or user-specified normal vectors. When this property isauto, <strong>MATLAB</strong> calculates vertex normals based on the coordinate data. If youspecify your own vertex normals, <strong>MATLAB</strong> sets this property to manual anddoes not generate its own data. See also the VertexNormals property.ParenthandleSurface’s parent object. The parent of a surface object is the axes in which it isdisplayed. You can move a surface object to another axes by setting thisproperty to the handle of the new parent.Selectedon | {off}Is object selected? When this property is on, <strong>MATLAB</strong> displays a dashedbounding box around the surface if the SelectionHighlight property is alsoon. You can, for example, define the ButtonDownFcn to set this property,allowing users to select the object with the mouse.SelectionHighlight {on} | offObjects highlight when selected. When the Selected property is on, <strong>MATLAB</strong>indicates the selected state by drawing a dashed bounding box around thesurface. When SelectionHighlight is off, <strong>MATLAB</strong> does not draw thehandles.SpecularColorReflectancescalar in the range 0 to 1Color of specularly reflected light. When this property is 0, the color of thespecularly reflected light depends on both the color of the object from which it2-491

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

Saved successfully!

Ooh no, something went wrong!