ScottPlot.NET
GitHub Repo stars

SignalXY with Markers

Users can enable a marker to be displayedat each data point. However, this can reduce performance for extremely large datasets.

This code sample is specific to ScottPlot 5 (details)
ScottPlot.Plot myPlot = new();

double[] xs = Generate.Consecutive(51);
double[] ys = Generate.Sin(51);

var sig = myPlot.Add.SignalXY(xs, ys);
sig.MarkerStyle.Shape = MarkerShape.FilledCircle;
sig.MarkerStyle.Size = 5;

myPlot.SavePng("demo.png", 400, 300);

Edit on GitHub