using Imsl.Chart2D; public class SampleHeatmap : FrameChart { public SampleHeatmap() { Chart chart = this.Chart; AxisXY axis = new AxisXY(chart); double xmin = 0.0; double xmax = 5.0; double ymin = 0.0; double ymax = 4.0; double zmin = 0.0; double zmax = 100.0; double[,] data = new double [,] { {23, 48, 16, 56}, {89, 74, 54, 32}, {12, 45, 18, 9}, {72, 15, 42, 92}, {63, 36, 78, 29} }; Heatmap heatmap = new Heatmap(axis, xmin, xmax, ymin, ymax, zmin, zmax, data, Colormap_Fields.BLUE_RED); heatmap.HeatmapLegend.IsVisible = true; } public static void Main(string[] argv) { System.Windows.Forms.Application.Run(new SampleHeatmap()); } }