This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.


Colors, palettes, and patterns

MuPAD Functions

RGB::ColorNamesFind predefined colors by name
RGB::plotColorPaletteDisplay predefined colors
RGB::colorNameFind names of predefined colors
RGB::fromWaveLengthGet the RGB color of monochromatic light
RGB::randomPick a color uniformly at random in RGB color space
RGB::toHSVConvert RGB colors to HSV
RGB::fromHSVConvert HSV colors to RGB

MuPAD Graphical Attributes

BackgroundStyleColor blends in the background
BackgroundTransparentPlot a scene on a transparent background
LineColorFunction, FillColorFunctionFunctional line coloring
BackgroundColor, BackgroundColor2Background color
BorderColor, BorderWidthColor of frame/border around canvas and scenes



The most prominent plot attribute, available for all primitives, is Color.

Was this topic helpful?