Step 1: Install the ScottPlot.Eto
NuGet package. Linux & MacOS users must take these additional steps.
Step 2: Add a ScottPlot.Eto.PlotView
Control to your Form:
var plotView = new ScottPlot.Eto.PlotView();
double[] xs = new double[] { 1, 2, 3, 4, 5 };
double[] ys = new double[] { 1, 4, 9, 16, 25 };
plotView.Plot.AddScatter(xs, ys);
this.Content = plotView;
WPF | GTK | OSX |
---|---|---|
![]() |
![]() |
![]() |