Interface IColormap
- Namespace
- ScottPlot
- Assembly
- ScottPlot.dll
public interface IColormap
- Extension Methods
Properties
Name
Human readable name for this colormap
string Name { get; }
Property Value
Methods
GetColor(double)
Returns the color of a position on this colormap (from 0 to 1). Returns transparent if NaN. Positions outside the range will be clamped.
Color GetColor(double position)
Parameters
position
doubleFractional distance along the colormap