Comuna.NET - A community analysis, tracking and graphing library for social networks written in C#
![]() | TolPalettesCreateTolDivPalette Method |
Creates a color palette according to Paul Tol's diverging (blue-yellow-red) colors scheme.
http://www.sron.nl/~pault/colourschemes.pdf, Fig. 8 and Eq. 2.
Namespace: Comuna.Graphviz
Assembly: Comuna.Graphviz (in Comuna.Graphviz.dll) Version: 1.0.0

C#
public static GraphvizColor[] CreateTolDivPalette( int numColors )
Parameters
- numColors
- Type: SystemInt32
The number of colors to be generated in the palette.
Return Value
Type: GraphvizColorA GraphvizColor array with the given number of colors.
