[转][C#]ScottPlot

来自:https://github.com/scottplot/scottplot

 

 

 

使用特别简单:

Nuget 中添加  ScottPlot.WinForms,然后拖动控件到窗体(v4.7.2),写下以下代码到窗体加载事件即可:

double[] xs = new double[] {1, 2, 3, 4, 5};
double[] ys = new double[] {1, 4, 9, 16, 25};
formsPlot1.Plot.AddScatter(xs, ys);

 

posted on 2021-12-05 00:26  z5337  阅读(1256)  评论(0编辑  收藏  举报