HeatmapCellAlignment
Heatmap cells are aligned in their centers by default. This means that the bottom left cell will be centered at (0, 0), and its lower left corner will be to the lower left of the origin. Setting sell alignment to lower left causes the lower left of the heatmap to be exactly at (0, 0).
ScottPlot.Plot myPlot = new();
double[,] data = {
{ 1, 2, 3 },
{ 4, 5, 6 },
{ 7, 8, 9 },
};
var hm = myPlot.Add.Heatmap(data);
hm.CellAlignment = Alignment.LowerLeft;
myPlot.SavePng("demo.png", 400, 300);
This recipe is one of many in the Heatmap category
