ScottPlot.NET
GitHub Repo stars

Disable Grid Lines

Users can disable grid lines for specific axes.

ScottPlot.Plot myPlot = new();

myPlot.Add.Signal(Generate.Sin());
myPlot.Add.Signal(Generate.Cos());

myPlot.Grid.XAxisStyle.IsVisible = true;
myPlot.Grid.YAxisStyle.IsVisible = false;

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