28.12.2012 Views

Figure Properties - SERC

Figure Properties - SERC

Figure Properties - SERC

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Line <strong>Properties</strong><br />

color with that of the pixel behind it) and ignore three-dimensional sorting to<br />

obtain greater rendering speed. However, these techniques are not applied to<br />

the printed output.<br />

You can use the MATLAB getframe command or other screen capture<br />

application to create an image of a figure containing nonnormal mode objects.<br />

HitTest {on} | off<br />

Selectable by mouse click. HitTest determines if the line can become the<br />

current object (as returned by the gco command and the figure CurrentObject<br />

property) as a result of a mouse click on the line. If HitTest is off, clicking the<br />

line selects the object below it (which may be the axes containing it).<br />

HandleVisibility {on} | callback | off<br />

Control access to object’s handle by command-line users and GUIs. This<br />

property determines when an object’s handle is visible in its parent’s list of<br />

children. HandleVisibility is useful for preventing command-line users from<br />

accidentally drawing into or deleting a figure that contains only user interface<br />

devices (such as a dialog box).<br />

Handles are always visible when HandleVisibility is on.<br />

Setting HandleVisibility to callback causes handles to be visible from<br />

within callback routines or functions invoked by callback routines, but not from<br />

within functions invoked from the command line. This provides a means to<br />

protect GUIs from command-line users, while allowing callback routines to<br />

have complete access to object handles.<br />

Setting HandleVisibility to off makes handles invisible at all times. This<br />

may be necessary when a callback routine invokes a function that might<br />

potentially damage the GUI (such as evaluating a user-typed string), and so<br />

temporarily hides its own handles during the execution of that function.<br />

When a handle is not visible in its parent’s list of children, it cannot be returned<br />

by functions that obtain handles by searching the object hierarchy or querying<br />

handle properties. This includes get, findobj, gca, gcf, gco, newplot, cla, clf,<br />

and close.<br />

When a handle’s visibility is restricted using callback or off, the object’s<br />

handle does not appear in its parent’s Children property, figures do not appear<br />

in the root’s Current<strong>Figure</strong> property, objects do not appear in the root’s<br />

CallbackObject property or in the figure’s CurrentObject property, and axes<br />

do not appear in their parent’s CurrentAxes property.<br />

2-1327

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

Saved successfully!

Ooh no, something went wrong!