- Aide de Scilab
- Graphiques
- Gestion des couleurs
- addcolor
- autumncolormap
- bonecolormap
- color
- color_list
- colorbar
- colordef
- colormap
- coolcolormap
- coppercolormap
- getcolor
- graycolormap
- hotcolormap
- hsv2rgb
- hsvcolormap
- jetcolormap
- name2rgb
- oceancolormap
- pinkcolormap
- rainbowcolormap
- rgb2name
- springcolormap
- summercolormap
- whitecolormap
- wintercolormap
Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function
colordef
Set default color values to display different color schemes
Calling Sequence
colordef(color_scheme) colordef(f,color_scheme) colordef('new',color_scheme)
Arguments
- color_scheme
a character string with possible value: 'white', 'black','none'
- f
a handle on a graphic figure
Description
colordef('white')
sets the default figure (see gdf) colormap tojetcolormap(64)
, the default figure background color to light gray and the default axes (see gda) background color to white, the axes lines foreground and font color to black.colordef('black')
sets the default figure (see gdf) colormap tojetcolormap(64)
, the default figure background color to dark gray and the default axes (see gda) background color to black, the axes lines foreground and font color to white.colordef('none')
sets the default figure (see gdf) colormap tohsvcolormap(64)
, the default figure background color to dark gray and the default axes (see gda) background color to black, the axes lines foreground and font color to white.colordef(f,color_scheme)
sets the color properties of figure given by the handlef
as well as the color properties of its current axes.colordef('new',color_scheme)
creates a new graphic window and its color properties as well as the properties of its axes.
Examples
See Also
- gdf — Return handle of default figure.
- gda — Return handle of default axes.
- figure_properties — description of the graphics figure entity properties
- axes_properties — description of the axes entity properties
Report an issue | ||
<< colorbar | Gestion des couleurs | colormap >> |