ScottPlot.NET
GitHub Repo stars

Removing a Plottable

Individual items may be removed from the plot.

ScottPlot.Plot myPlot = new();

// add plottables
var sig1 = myPlot.Add.Signal(Generate.Sin());
var sig2 = myPlot.Add.Signal(Generate.Cos());

// remove a specific plottable
myPlot.Remove(sig1);

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