Table of Contents

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

string

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 double

Fractional distance along the colormap

Returns

Color