`plscmap1_range`: Set the cmap1 argument range for continuous color plots
Prev | Chapter 18. The Common API for PLplot | Next

#### `plscmap1_range`: Set the cmap1 argument range for continuous color plots

`plscmap1_range (` | min_color ,
| max_color `)`;

Set the cmap1 argument range for continuous color plots that corresponds to the range of data values. The maximum range corresponding to the entire cmap1 palette is 0.0-1.0, and the smaller the cmap1 argument range that is specified with this routine, the smaller the subset of the cmap1 color palette that is used to represent the continuous data being plotted. If `min_color` is greater than `max_color` or `max_color` is greater than 1.0 or `min_color` is less than 0.0 then no change is made to the cmap1 argument range. (Use `plgcmap1_range` to get the cmap1 argument range.)

`min_color` (``PLFLT``, input)

  The minimum cmap1 argument. If less than 0.0, then 0.0 is used instead.

`max_color` (``PLFLT``, input)

  The maximum cmap1 argument. If greater than 1.0, then 1.0 is used instead.

Redacted form: `plscmap1_range(min_color, max_color)`

This function is currently used in example 33.

Prev | Up | Next
`plscmap0n`: Set number of colors in cmap0 | Home | `plscmap1`: Set opaque RGB cmap1 colors values