1PLSCMAP0N(3plplot)                PLplot API                PLSCMAP0N(3plplot)
2
3
4

NAME

6       plscmap0n - Set number of colors in cmap0
7

SYNOPSIS

9       plscmap0n(ncol0)
10

DESCRIPTION

12       Set  number of colors in cmap0 (see the PLplot documentation). Allocate
13       (or reallocate) cmap0, and fill with default values  for  those  colors
14       not previously allocated.  The first 16 default colors are given in the
15       plcol0(3plplot) documentation.  For larger indices the default color is
16       red.
17
18       The drivers are not guaranteed to support more than 16 colors.
19
20       Redacted form: plscmap0n(ncol0)
21
22       This function is used in examples 15, 16, and 24.
23

ARGUMENTS

25       ncol0 (PLINT(3plplot), input)
26              Number of colors that will be allocated in the cmap0 palette. If
27              this number is zero or less, then the value  from  the  previous
28              call  to  plscmap0n(3plplot) is used and if there is no previous
29              call, then a default value is used.
30
31

AUTHORS

33       Many developers (who  are  credited  at  http://plplot.org/credits.php)
34       have contributed to PLplot over its long history.
35

SEE ALSO

37       PLplot documentation at http://plplot.org/documentation.php.
38
39
40
41                                 August, 2021               PLSCMAP0N(3plplot)
Impressum