ScottPlot.NET
GitHub Repo stars

Interactive Spans

Interactive vertical and horizontal spans let the user select ranges along the vertical and horizontal axes, respectively.

ScottPlot.Plot myPlot = new();

myPlot.Add.InteractiveVerticalSpan(3, 5);
myPlot.Add.InteractiveHorizontalSpan(3, 5);
myPlot.Axes.SetLimits(0, 10, 0, 10);

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