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.

<strong>Figure</strong> <strong>Properties</strong><br />

This property affects only built-in menus. Menus defined with the uimenu<br />

command are not affected by this property.<br />

MinColormap scalar (default = 64)<br />

Minimum number of color table entries used. This property specifies the<br />

minimum number of system color table entries used by MATLAB to store the<br />

colormap defined for the figure (see the ColorMap property). In certain<br />

situations, you may need to increase this value to ensure proper use of colors.<br />

For example, suppose you are running color-intensive applications in addition<br />

to MATLAB and have defined a large figure colormap (e.g., 150 to 200 colors).<br />

MATLAB may select colors that are close but not exact from the existing colors<br />

in the system color table because there are not enough slots available to define<br />

all the colors you specified.<br />

To ensure that MATLAB uses exactly the colors you define in the figure<br />

colormap, set MinColorMap equal to the length of the colormap.<br />

set(gcf,'MinColormap',length(get(gcf,'ColorMap')))<br />

Note that the larger the value of MinColorMap, the greater the likelihood that<br />

other windows (including other MATLAB figure windows) will be displayed in<br />

false colors.<br />

Name string<br />

<strong>Figure</strong> window title. This property specifies the title displayed in the figure<br />

window. By default, Name is empty and the figure title is displayed as<br />

<strong>Figure</strong> 1, <strong>Figure</strong> 2, and so on. When you set this parameter to a string, the<br />

figure title becomes <strong>Figure</strong> 1: . See the NumberTitle property.<br />

NextPlot {add} | replace | replacechildren<br />

How to add next plot. NextPlot determines which figure MATLAB uses to<br />

display graphics output. If the value of the current figure is<br />

add — Use the current figure to display graphics (the default).<br />

replace — Reset all figure properties except Position to their defaults and<br />

delete all figure children before displaying graphics (equivalent to clf<br />

reset).<br />

replacechildren — Remove all child objects, but do not reset figure<br />

properties (equivalent to clf).<br />

2-787

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

Saved successfully!

Ooh no, something went wrong!