Method scmap1_range
| Improve this Doc View Sourcescmap1_range(Double, Double)
plscmap1_range: Set the cmap1 argument range for continuous color plots
Declaration
public void scmap1_range(Double min_color, Double max_color)
Parameters
Type | Name | Description |
---|---|---|
Double | min_color | The minimum cmap1 argument. If less than 0.0, then 0.0 is used instead. |
Double | max_color | The maximum cmap1 argument. If greater than 1.0, then 1.0 is used instead. |
Remarks
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.)