Documentation

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

Colors, palettes, and patterns

MuPAD Functions

RGB::ColorNames Find predefined colors by name
RGB::plotColorPalette Display predefined colors
RGB::colorName Find names of predefined colors
RGB::fromWaveLength Get the RGB color of monochromatic light
RGB::random Pick a color uniformly at random in RGB color space
RGB::toHSV Convert RGB colors to HSV
RGB::fromHSV Convert HSV colors to RGB

MuPAD Graphical Attributes

BackgroundStyle Color blends in the background
BackgroundTransparent Plot a scene on a transparent background
LineColorFunction, FillColorFunction Functional line coloring
BackgroundColor, BackgroundColor2 Background color
BorderColor, BorderWidth Color of frame/border around canvas and scenes

Topics

Colors

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

Was this topic helpful?