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.

Line Propertiesobjects beneath the line. However, the line’s color depends on the color ofwhatever is beneath it on the display.• background – Erase the line by drawing it in the axes’ background Color, orthe figure background Color if the axes Color is set to none. This damagesobjects that are behind the erased line, but lines are always properly colored.Printing with Non-normal Erase Modes<strong>MATLAB</strong> always prints figures as if the EraseMode of all objects is normal. Thismeans graphics objects created with EraseMode set to none, xor, or backgroundcan look different on screen than on paper. On screen, <strong>MATLAB</strong> maymathematically combine layers of colors (e.g., XORing a pixel color with that ofthe pixel behind it) and ignore three-dimensional sorting to obtain greaterrendering speed. However, these techniques are not applied to the printedoutput.You can use the <strong>MATLAB</strong> getframe command or other screen captureapplication to create an image of a figure containing non-normal mode objects.HitTest{on} | offSelectable by mouse click. HitTest determines if the line can become thecurrent object (as returned by the gco command and the figure CurrentObjectproperty) as a result of a mouse click on the line. If HiTest is off, clicking onthe line selects the object below it (which may be the axes containing it).HandleVisibility {on} | callback | offControl access to object’s handle by command-line users and GUIs. Thisproperty determines when an object’s handle is visible in its parent’s list ofchildren. HandleVisibility is useful for preventing command-line users fromaccidentally drawing into or deleting a figure that contains only user interfacedevices (such as a dialog box).Handles are always visible when HandleVisibility is on.Setting HandleVisibility to callback causes handles to be visible fromwithin callback routines or functions invoked by callback routines, but not fromwithin functions invoked from the command line. This provides a means toprotect GUIs from command-line users, while allowing callback routines tohave complete access to object handles.2-280

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

Saved successfully!

Ooh no, something went wrong!