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 PropertiesFigureProperties2Figure PropertiesThis section lists property names along with the type of values each accepts.Curly braces { } enclose default values.BackingStore{on} | offOff screen pixel buffer. When BackingStore is on, <strong>MATLAB</strong> stores a copy of thefigure window in an off-screen pixel buffer. When obscured parts of the figurewindow are exposed, <strong>MATLAB</strong> copies the window contents from this bufferrather than regenerating the objects on the screen. This increases the speedwith which the screen is redrawn.While refreshing the screen quickly is generally desirable, the buffers requireddo consume system memory. If memory limitations occur, you can setBackingStore to off to disable this feature and release the memory used by thebuffers. If your computer does not support backingstore, setting theBackingStore property results in a warning message, but has no other effect.Setting BackingStore to off can increase the speed of animations because iteliminates the need to draw into both an off-screen buffer and the figurewindow.BusyActioncancel | {queue}Callback routine interruption. The BusyAction property enables you to controlhow <strong>MATLAB</strong> handles events that potentially interrupt executing callbackroutines. If there is a callback routine executing, subsequently invokedcallback routines always attempt to interrupt it. If the Interruptible propertyof the object whose callback is executing is set to on (the default), theninterruption occurs at the next point where the event queue is processed. If theInterruptible property is off, the BusyAction property (of the object owningthe executing callback) determines how <strong>MATLAB</strong> handles the event. Thechoices are:• cancel – discard the event that attempted to execute a second callbackroutine.• queue – queue the event that attempted to execute a second callback routineuntil the current callback finishes.ButtonDownFcn stringButton press callback function. A callback routine that executes whenever youpress a mouse button while the pointer is in the figure window, but not over achild object (i.e., uicontrol, axes, or axes child). Define this routine as a string2-167

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

Saved successfully!

Ooh no, something went wrong!