Interactive Line Segment
Two draggable points with a straight line between them.
ScottPlot.Plot myPlot = new();
for (int i = 0; i < 5; i++)
{
CoordinateLine line = Generate.RandomLine();
myPlot.Add.InteractiveLineSegment(line);
}
myPlot.SavePng("demo.png", 400, 300);
This recipe is one of many in the Interactive category
