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 PropertiesTo ensure <strong>MATLAB</strong> uses exactly the colors you define in the figure colormap,set MinColorMap equal to the length of the colormap.set(gcf,'MinColormap',length(get(gcf,'ColorMap')))Note that the larger the value of MinColorMap, the greater the likelihood otherwindows (including other <strong>MATLAB</strong> figure windows) will display in false colors.NamestringFigure window title. This property specifies the title displayed in the figurewindow. By default, Name is empty and the figure title is displayed asFigure No. 1, Figure No. 2, and so on. When you set this parameter to astring, the figure title becomes Figure No. 1: . See the NumberTitleproperty.NextPlot{add} | replace | replacechildrenHow to add next plot. NextPlot determines which figure <strong>MATLAB</strong> uses todisplay graphics output. If the value of the current figure is:• add — use the current figure to display graphics (the default).• replace — reset all figure properties, except Position, to their defaults anddelete all figure children before displaying graphics (equivalent to clfreset).• replacechildren — remove all child objects, but do not reset figureproperties (equivalent to clf).The newplot function provides an easy way to handle the NextPlot property.Also see the NextPlot property of axes and the Using <strong>MATLAB</strong> <strong>Graphics</strong>manual.NumberTitle{on} | offFigure window title number. This property determines whether the stringFigure No. N (where N is the figure number) is prefixed to the figure windowtitle. See the Name property.PaperOrientation {portrait} | landscapeHorizontal or vertical paper orientation. This property determines how printedfigures are oriented on the page. portrait orients the longest page dimensionvertically; landscape orients the longest page dimension horizontally. See theorient command for more detail.2-177

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

Saved successfully!

Ooh no, something went wrong!