Scilab 6.0.0
- Scilab Help
- Graphics
- Color management
- addcolor
- autumncolormap
- bonecolormap
- color
- color_list
- colorbar
- colordef
- colormap
- coolcolormap
- coppercolormap
- getcolor
- graycolormap
- hotcolormap
- hsv2rgb
- hsvcolormap
- jetcolormap
- name2rgb
- oceancolormap
- parulacolormap
- pinkcolormap
- rainbowcolormap
- rgb2name
- springcolormap
- summercolormap
- whitecolormap
- wintercolormap
Scilab Help >> Graphics > Color management > addcolor
addcolor
add new colors to the current colormap
Syntax
new=addcolor(c)
Arguments
- new
ids of the colors defined in c in the new color table.
- c
matrix with 3 columns, RGB color definition.
Description
addcolor
adds new colors given in the c
argument to the
current colormap. c
must be a matrix with 3 columns
[R G B]
R
is red component, G
is green component,
B
is blue component). Each entry in c
must be a non
negative number less or equal to 1.
The ids of the new colors are returned into new
.
If a color defined in c
is already present in the current colormap
it is not added.
Comments
Add a comment:
Please login to comment this page.