Scilab Home page | Wiki | Bug tracker | Forge | Mailing list archives | ATOMS | File exchange
Please login or create an account
Change language to: Português do Brasil - 日本語 - English
Aide Scilab >> Graphiques > Gestion des couleurs > graycolormap

graycolormap

linear gray colormap

Calling Sequence

cmap=graycolormap(n)

Arguments

n

integer >= 1, the colormap size.

cmap

matrix with 3 columns [R,G,B].

Description

graycolormap computes a colormap with n gray colors varying linearly from black to white.

Examples

f = scf();
plot3d1();
f.color_map = graycolormap(32);

See Also

<< getcolor Gestion des couleurs hotcolormap >>

Consortium Scilab (DIGITEO)
Scilab Enterprises

Copyright (c) 2011-2012 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Wed Oct 05 12:11:00 CEST 2011