A rainbow colormap inspired by Jet and Turbo but adapted by Scott Harden to have less dark edges (red or purple) and a more mellow center (darker yellow/green) for more even brightness perception when displayed using thin lines on a white background.
More...
|
Color | GetColor (double position) |
| Returns the color of a position on this colormap (from 0 to 1). Returns transparent if NaN. Positions outside the range will be clamped.
|
|
| MellowRainbow () |
|
|
string | Name [get] |
| Human readable name for this colormap.
|
|
A rainbow colormap inspired by Jet and Turbo but adapted by Scott Harden to have less dark edges (red or purple) and a more mellow center (darker yellow/green) for more even brightness perception when displayed using thin lines on a white background.
◆ MellowRainbow()
ScottPlot.Colormaps.MellowRainbow.MellowRainbow |
( |
| ) |
|
|
inline |
◆ GetColor()
Color ScottPlot.Colormaps.MellowRainbow.GetColor |
( |
double |
position | ) |
|
Returns the color of a position on this colormap (from 0 to 1). Returns transparent if NaN. Positions outside the range will be clamped.
- Parameters
-
position | Fractional distance along the colormap |
Implements ScottPlot.IColormap.
◆ Name
string ScottPlot.Colormaps.MellowRainbow.Name |
|
get |
The documentation for this class was generated from the following file:
- ScottPlot/src/ScottPlot5/ScottPlot5/Colormaps/MellowRainbow.cs