~ubuntu-branches/ubuntu/karmic/scilab/karmic

« back to all changes in this revision

Viewing changes to man/graphics/addcolor.cat

  • Committer: Bazaar Package Importer
  • Author(s): Torsten Werner
  • Date: 2002-03-21 16:57:43 UTC
  • Revision ID: james.westby@ubuntu.com-20020321165743-e9mv12c1tb1plztg
Tags: upstream-2.6
ImportĀ upstreamĀ versionĀ 2.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
addcolor          Scilab Group          Scilab Function            addcolor
 
2
NAME
 
3
   addcolor - add new colors to the current colormap
 
4
  
 
5
CALLING SEQUENCE
 
6
 new=addcolor(c)
 
7
PARAMETERS
 
8
 new   : ids of the colors defined in c in the new color table.
 
9
       
 
10
 c     : matrix with 3 columns, RGB color definition.
 
11
       
 
12
DESCRIPTION
 
13
   addcolor adds new colors given in the c argument to the current colormap.
 
14
  c must be a matrix with 3 columns  [R G B] R is red component, G is green
 
15
  component, B is blue component). Each entry in c must be a non negative
 
16
  number less or equal to 1.
 
17
  
 
18
   The ids of the new colors are returned into new.
 
19
  
 
20
   If a color defined in c is already present in the current colormap it is
 
21
  not added.
 
22
  
 
23
SEE ALSO
 
24
   colormap
 
25