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.

This code sample is specific to ScottPlot 5 (details)
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);

Edit on GitHub