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 PropertiesChildrenmatrix of handlesAlways the empty matrix; surface objects have no children.Clipping{on} | offClipping to axes rectangle. When Clipping is on, <strong>MATLAB</strong> does not display anyportion of the surface that is outside the axes rectangle.CreateFcnstringCallback routine executed during object creation. This property defines acallback routine that executes when <strong>MATLAB</strong> creates a surface object. Youmust define this property as a default value for surfaces. For example, thestatement,set(0,'DefaultSurfaceCreateFcn',...'set(gcf,''DitherMap'',my_dithermap)')defines a default value on the root level that sets the figure DitherMap propertywhenever you create a surface object. <strong>MATLAB</strong> executes this routine aftersetting all surface properties. Setting this property on an existing surfaceobject has no effect.The handle of the object whose CreateFcn is being executed is accessible onlythrough the root CallbackObject property, which you can query using gcbo.DeleteFcnstringDelete surface callback routine. A callback routine that executes when youdelete the surface object (e.g., when you issue a delete command or clear theaxes or figure). <strong>MATLAB</strong> executes the routine before destroying the object’sproperties so these values are available to the callback routine.The handle of the object whose DeleteFcn is being executed is accessible onlythrough the root CallbackObject property, which you can query using gcbo.DiffuseStrength scalar >= 0 and

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

Saved successfully!

Ooh no, something went wrong!