| ranging from 1 to length(colormap). MATLAB maps values less than 1 to the first color in the colormap, and values greater than length(colormap) to the last color in the colormap. Values with a decimal portion are fixed to the nearest lower integer. Children matrix of handles Always the empty matrix; patch objects have no children. Clipping {on} | off Clipping to axes rectangle .When Clipping is on, MATLAB does not display any portion ofthe patch outside the axes rectangle. CreateFcn string or function handle Callback routine executed during object creation. This property defines a callback routine that executes when MATLAB creates a patch object. You must define this property as a default value for patches or in a call to the patch function that creates a new object. For example, the following statement creates a patch (assuming x, y, z,andc are defined), and executes the function referenced by the function handle @myCreateFcn. patch(x,y,z,c,'CreateFcn',@myCreateFcn) MATLAB executes the create function after setting all properties for the patch created. Setting this property on an existing patch object has no effect. ThehandleoftheobjectwhoseCreateFcn is being executed is accessible only through the root CallbackObject property, which you can query using gcbo. |