DensityTransform Class

Estimates the probability density of the x values with a Gaussian kernel, for each series (the Series channel, else the colors). Each series becomes rows of evenly spaced x values, with their density as y. Draw it with an AreaMark<T> or a LineMark<T>: a density plot. The y channel of the mark is ignored.

public sealed class DensityTransform : Transform
Inheritance
Transform DensityTransform

Constructors

NameDescription
DensityTransform()

DensityTransform()

DensityTransform.cs
public DensityTransform()

No documentation is available.

Properties

NameDescription
BandwidthGets or sets the bandwidth of the kernel, in the unit of x, or null for Silverman's rule of thumb. A larger bandwidth gives a smoother curve.
CutGets or sets how far the curves go beyond the smallest and the largest values, in bandwidths. The default is 3, where the density is almost zero.
SamplesGets or sets the number of points of each curve. The default is 100.

Gets or sets the bandwidth of the kernel, in the unit of x, or null for Silverman's rule of thumb. A larger bandwidth gives a smoother curve.

public double? Bandwidth { get; set; }

Property value

double?

Gets or sets how far the curves go beyond the smallest and the largest values, in bandwidths. The default is 3, where the density is almost zero.

public double Cut { get; set; }

Property value

double

Gets or sets the number of points of each curve. The default is 100.

public int Samples { get; set; }

Property value

int

Exceptions

ArgumentOutOfRangeException
The value is less than 2.