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.

Figure Propertiesexecutes (and the CurrentPoint is updated) anywhere on the screen untilthe mouse button is released.• If there is a callback routine defined for the WindowButtonUpFcn, <strong>MATLAB</strong>updates the CurrentPoint just before executing the callback. Note that theWindowButtonUpFcn executes only while the pointer is within the figurewindow unless the mouse button is pressed down initially within thewindow. In this case, releasing the button anywhere on the screen triggerscallback execution, which is preceded by an update of the CurrentPoint.The figure CurrentPoint is updated only when certain events occur, aspreviously described. In some situations, (such as when theWindowButtonMotionFcn takes a long time to execute and the pointer is movedvery rapidly) the CurrentPoint may not reflect the actual location of thepointer, but rather the location at the time when the WindowButtonMotionFcnbegan execution.The CurrentPoint is measured from the lower-left corner of the figure window,in units determined by the Units property.The root PointerLocation property contains the location of the pointerupdated synchronously with pointer movement. However, the location ismeasured with respect to the screen, not a figure window.See uicontrol for information on how this property is set when you click on auicontrol object.DeleteFcnstringDelete figure callback routine. A callback routine that executes when the figureobject is deleted (e.g., when you issue a delete or a close command). <strong>MATLAB</strong>executes the routine before destroying the object’s properties so these valuesare 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.Dithermapm-by-3 matrix of RGB valuesColormap used for true-color data on pseudocolor displays. This propertydefines a colormap that <strong>MATLAB</strong> uses to dither true-color CData for display onpseudocolor (8-bit or less) displays. <strong>MATLAB</strong> maps each RGB color defined astrue-color CData to the closest color in the dithermap. The default Dithermap2-172

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

Saved successfully!

Ooh no, something went wrong!