SignalXY DateTime Axis
SignalXY plots can display unevenly spaced time series data using a DateTime horizontal axis.
ScottPlot.Plot myPlot = new();
DateTime start = new(2024, 01, 01);
DateTime[] xs = Generate.ConsecutiveDays(100, start);
double[] ys = Generate.RandomWalk(100);
myPlot.Add.SignalXY(xs, ys);
myPlot.Axes.DateTimeTicksBottom();
myPlot.SavePng("demo.png", 400, 300);
This recipe is one of many in the SignalXY Plot category
