Heatmap with Transparent Colormap
Custom colormaps may include transparency.
ScottPlot.Plot myPlot = new();
double[,] data = SampleData.MonaLisa();
var hm1 = myPlot.Add.Heatmap(data);
Color[] colors = [Colors.Navy, Colors.Transparent, Colors.Orange];
hm1.Colormap = new ScottPlot.Colormaps.CustomInterpolated(colors);
myPlot.Add.ColorBar(hm1);
myPlot.SavePng("demo.png", 400, 300);
This recipe is one of many in the Heatmap category
