ScottPlot.NET
GitHub Repo stars

Hide the Title

A shortcut method exists to easily disable title visibility. This strategy can be used to un-hide the title later, preserving its original text.

ScottPlot.Plot myPlot = new();

// add sample data
myPlot.Add.Signal(Generate.Sin());
myPlot.Add.Signal(Generate.Cos());

// display text in the title area
myPlot.Title("This is an example title");

// hide the title
myPlot.Title(false);

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