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.

Line PropertiesLine Properties2Line 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 line 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; line objects have no children.Clipping{on} | offClipping mode. <strong>MATLAB</strong> clips lines to the axes plot box by default. If you setClipping to off, lines display outside the axes plot box. This can occur if youcreate a line, set hold to on, freeze axis scaling (axis manual), and then createa longer line.ColorColorSpecLine color. A three-element RGB vector or one of <strong>MATLAB</strong>’s predefined names,specifying the line color. See the ColorSpec reference page for moreinformation on specifying color.2-278

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

Saved successfully!

Ooh no, something went wrong!