TolPalettes.CreateTolRainbowPalette Method

Comuna.NET

TolPalettesCreateTolRainbowPalette Method

Creates a color palette according to Paul Tol's rainbow colors scheme. http://www.sron.nl/~pault/colourschemes.pdf, Fig. 13 and Eq. 3.

Namespace:  Comuna.Graphviz
Assembly:  Comuna.Graphviz (in Comuna.Graphviz.dll) Version: 1.0.0
Syntax
C#
public static GraphvizColor[] CreateTolRainbowPalette(
	int numColors
)
Request Example View Source

Parameters

numColors
Type: SystemInt32
The number of colors to be generated in the palette.

Return Value

Type: GraphvizColor
A GraphvizColor array with the given number of colors.
See Also