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.

Figure PropertiesUIContextMenu handle of a uicontextmenu objectAssociate a context menu with the figure. Assign this property the handle of auicontextmenu object created in the figure. Use the uicontextmenu function tocreate the context menu. <strong>MATLAB</strong> displays the context menu whenever youright-click over the figure.Units {pixels} | normalized | inches |centimeters | points | charactersUnits of measurement. This property specifies the units <strong>MATLAB</strong> uses tointerpret size and location data. All units are measured from the lower-leftcorner of the window.• normalized units map the lower-left corner of the figure window to (0,0) andthe upper-right corner to (1.0,1.0).• inches, centimeters, and points are absolute units (one point equals 1/72of an inch).• The size of a pixel depends on screen resolution.• Characters units are defined by characters from the default system font; thewidth of one character is the width of the letter x, the height of one characteris the distance between the baselines of two lines of text.This property affects the CurrentPoint and Position properties. If you changethe value of Units, it is good practice to return it to its default value aftercompleting your computation so as not to affect other functions that assumeUnits is set to the default value.When specifying the units as property/value pairs during object creation, youmust set the Units property before specifying the properties that you want touse these units.UserDatamatrixUser specified data. You can specify UserData as any matrix you want toassociate with the figure object. The object does not use this data, but you canaccess it using the set and get commands.Visible{on} | offObject visibility. The Visible property determines whether an object isdisplayed on the screen. If the Visible property of a figure is off, the entirefigure window is invisible.2-188

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

Saved successfully!

Ooh no, something went wrong!