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.

Figure Propertiesetc., to black. lines, text, and the edges of patches and surfaces may be changeddepending on the print command options specified.If you set InvertHardCopy to off, the printed output matches the colorsdisplayed on the screen.See print for more information on printing <strong>MATLAB</strong> figures.KeyPressFcn stringKey press callback function. A callback routine invoked by a key press occurringin the figure window. You can define KeyPressFcn as any legal <strong>MATLAB</strong>expression or the name of an M-file.The callback routine can query the figure’s CurrentCharacter property todetermine what particular key was pressed and thereby limit the callbackexecution to specific keys.The callback routine can also query the root PointerWindow property todetermine in which figure the key was pressed. Note that pressing a key whilethe pointer is in a particular figure window does not make that figure thecurrent figure (i.e., the one referred by the gcf command).MenuBarnone | {figure}Enable-disable figure menu bar. This property enables you to display or hidethe menu bar placed at the top of a figure window. The default (figure) is todisplay the menu bar.This property affects only built in menus. Menus defined with the uimenucommand are not affected by this property.MinColormap scalar (default = 64)Minimum number of color table entries used. This property specifies theminimum number of system color table entries used by <strong>MATLAB</strong> to store thecolormap defined for the figure (see the ColorMap property). In certainsituations, you may need to increase this value to ensure proper use of colors.For example, suppose you are running color-intensive applications in additionto <strong>MATLAB</strong> and have defined a large figure colormap (e.g., 150 to 200 colors).<strong>MATLAB</strong> may select colors that are close but not exact from the existing colorsin the system color table because there are not enough slots available to defineall the colors you specified.2-176

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

Saved successfully!

Ooh no, something went wrong!