Table of Contents

Class Colormap

Namespace
ScottPlot
Assembly
ScottPlot.dll
public static class Colormap
Inheritance
Colormap
Inherited Members

Properties

Default

public static IColormap Default { get; set; }

Property Value

IColormap

Methods

FromColors(Color[], bool)

public static IColormap FromColors(Color[] colors, bool smooth = true)

Parameters

colors Color[]
smooth bool

Returns

IColormap

GetColormaps()

Return an array containing every available colormap

public static IColormap[] GetColormaps()

Returns

IColormap[]

GetImage(IColormap, int, int)

public static Image GetImage(IColormap colormap, int width, int height)

Parameters

colormap IColormap
width int
height int

Returns

Image