Maths.Histogram2d

public static class Maths.Histogram2d
Static class for creating 2D mesh histograms.

Methods

Create

#
public static Mesh Create(double[,] values, Color[,] colours, bool shade, CancellationToken token)
Create a histogram mesh out of a two-dimensional grid of elevations. The bar grid has unit dimensions, and is anchored to the world origin.
values (double[,])Elevations of each bar. Use NaNs to omit certain bars.
colours (Color[,])Optional colour for each bar. May be null.
shade (bool)True to apply shading.
token (CancellationToken)Cancellation token.
A mesh representing the bar-grap.