colordef

Syntax

Arguments

a character string with possible value: 'white',
'black', 'none', or
'default'.

f

handle on a graphic figure

Description

colordef(color_scheme) sets the color properties of all forthcoming
figures and of their axes. The color_scheme and corresponding colors
are listed in the table here-below.

color_scheme

'white'

'black'

'none'

fig.color_map

jetcolormap(64)

jetcolormap(64)

hsvcolormap(64)

fig.background

light gray

dark gray

dark gray

axes.background

white

black

black

axes.foreground

black

white

white

After having used colordef(color_scheme), it is possible to get back
the default default colors with colordef("default").

colordef(f, color_scheme) sets the color properties corresponding to
the chosen color scheme, but only for the chosen figure with handle f.
The default colors of forthcoming figures are unchanged (except for "default").

colordef('new', color_scheme) creates a new graphic window and sets
its color properties according to the chosen color_scheme.
The default colors of forthcoming figures are unchanged (except for "default").