ScottPlot.NET
GitHub Repo stars

Line Plot Quickstart

Line plots are placed with a start and end location in coordinate space. Their styles can be customized.

ScottPlot.Plot myPlot = new();

myPlot.Add.Line(1, 12, 12, 0);
myPlot.Add.Line(7, 9, 42, 9);
myPlot.Add.Line(30, 17, 30, 1);

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