ScottPlot.NET
GitHub Repo stars

Title Alignment

The title is centered over the data area by default, but a flag allows users to center it relative to the figure instead

ScottPlot.Plot myPlot = new();

myPlot.Add.Signal(Generate.Sin(51, mult: 1e9));
myPlot.Title("This title is centered in the figure");
myPlot.Axes.Title.FullFigureCenter = true;

myPlot.SavePng("demo.png", 400, 300);
This recipe is one of many in the Styling Plots category