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.

whitebgPurpose2whitebgChange axes background colorSyntaxDescriptionwhitebgwhitebg(h)whitebg(ColorSpec)whitebg(h,ColorSpec)whitebg complements the colors in the current figure.whitebg(h) complements colors in all figures specified in the vector h.whitebg(ColorSpec) and whitebg(h,ColorSpec) change the color of the axes,which are children of the figure, to the color specified by ColorSpec.RemarksExampleswhitebg changes the colors of the figure’s children, with the exception ofshaded surfaces. This ensures that all objects are visible against the newbackground color. whitebg sets the default properties on the root such that allsubsequent figures use the new background color.Set the background color to blue-gray.whitebg([0 .5 .6])Set the background color to blue.whitebg('blue')See AlsoColorSpecThe figure graphics object property InvertHardCopy.2-588

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

Saved successfully!

Ooh no, something went wrong!