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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

ectangle propertiesRectangleProperties2rectangle propertiesThis section lists property names along with the type of values each accepts.Curly braces { } enclose default values.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 routes 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 routine. A callback routine that executes whenever youpress a mouse button while the pointer is over the rectangle object. Define thisroutine as a string that is a valid <strong>MATLAB</strong> expression or the name of an M-file.The expression executes in the <strong>MATLAB</strong> workspace.Childrenvector of handlesThe empty matrix; rectangle objects have no children.Clipping{on} | offClipping mode. <strong>MATLAB</strong> clips rectangles to the axes plot box by default. If youset Clipping to off, rectangles display outside the axes plot box. This can occurif you create a rectangle, set hold to on, freeze axis scaling (axis manual), andthen create a larger rectangle.CreateFcnstringCallback routine executed during object creation. This property defines acallback routine that executes when <strong>MATLAB</strong> creates a rectangle object. You2-393

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

Saved successfully!

Ooh no, something went wrong!