Syntax: |
SET BACKGROUNDCOLOR c
|
Default value: |
0
|
Use SET BACKGROUNDCOLOR c
to change the background
of the current window to a solid color. The default for all windows is to have solid white
background.
The parameter c
can be
either a string or a numeric scalar. A positive numeric value represents
the index of the color in the currently loaded colormap. A negative number
represents the index of the fixed color. A string value should be one of the
fixed color names. See Colors for more information.
Use SET BACKGROUNDCOLOR 0
to set the background color to
white.
Examples:
SET BACKGROUNDCOLOR 2 |
uses the colormap index 2 |
SET BACKGROUNDCOLOR -2 |
uses the fixed color index 2 |
SET BACKGROUNDCOLOR RED |
uses the fixed color name "RED" |
Use SET BACKGROUNDFILE
to set
the background for the current window to a PNG image.