通过NuGET安装ScottPlot.WinForms 步骤2:将“FormsPlot”从“工具箱”拖拽至WinForm窗体中;将“FormsPlot”从“工具箱”拖拽至WinForm窗体 步骤3:编写代码,可参照如下图所示的基础样例。简单样例:using ScottPlot;using System;using System.Windows.Forms;namespace ScottPlotDemo1_WinForm{ public partial class ...
ScottPlot 是一个免费的开源 .NET 绘图库,可以轻松交互式地显示大型数据集。折线图、条形图、饼图、散点图等只需几行代码即可创建。 ScottPlot - .NET 的交互式绘图库 ScottPlot 4.1 Demo 官方的demo是最好的学习例程 解压后的文件清单如下, 双击 
因为Demo用的WinForm,所以我们看ScottPlot.WinForms/FromsPlot.cs,以此为源码分析的入口点。 class FormsPlot : UserControl { public FormsPlot() { Backend = new Control.ControlBackEnd(1, 1, "FormsPlot"); Backend.Resize(Width, Height, useDelayedRendering: false); Backend.BitmapChanged += new Event...
ScottPlot的Winform例程。ScottPlot是一款效率极高的C#界面开发绘图控件,轻松应对超大数据量的绘图点赞(0) 踩踩(0) 反馈 所需:7 积分 电信网络下载 vue2(移动端)黑马头条 2025-03-17 20:28:09 积分:1 Tweetme 2025-03-17 20:27:20 积分:1
MicrophoneDemo); Application.Run(new MainMenuForm(testingFormType)); }1 change: 1 addition & 0 deletions 1 src/ScottPlot5/ScottPlot5 Demos/ScottPlot5 WinForms Demo/WinForms Demo.csproj Original file line numberDiff line numberDiff line change @@ -53,6 +53,7 @@ <ItemGroup> <...
适用范围广:同时适用于 WinForms, WPF, Avalonia, Console, 支持 .NET Framework 4.6.1 及以上, NET Core 2.0 至 .NET 5。 上手简单:只需几行代码即可创建折线图、条形图、饼图、散点图等。 性能强悍:千万级数据处理无压力, 媲美 Python Matplotlib。 可交互:支持用户和图表数据进行交互, 注入灵魂。 开源...
首先创建一个winform,添加ScottPlot.WinForms包,然后从工具箱中添加FormsPlot这个控件: 有两种方法实现,第一种方法用了定时器: usingNumSharp;namespaceWinFormDemo{publicpartialclassForm1:Form{ System.Windows.Forms.Timer updateTimer =newSystem.Windows.Forms.Timer();intnum_iterations;intcount =0; ...
https://github.com/ScottPlot/ScottPlot/blob/main/src/ScottPlot5/ScottPlot5%20Demos/ScottPlot5%20WinForms%20Demo/Demos/MultiplotCollapsed.cs ️1 swhardenclosed this as completedon Jan 24, 2025 Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment...
ScottPlot 本身是一个 库,不能直接运行,ScottPlot 仓库里有 测试的demo 例程,可以运行,查看效果 可以选择:winforms demo,并 【设为启动项目】 运行例程 点击调试,发现可以直接运行ScottPlot 的 demo 例程了,初步了解,功能还是比较的强大,能满足基本...
在WinForms应用程序中,这通常是通过将ScottPlot控件添加到窗体上并获取其绘图对象来实现的。 然后,使用AddScatter方法将X轴和Y轴的数据添加到散点图中: csharp var plt = new ScottPlot.Plot(600, 400); // 创建一个绘图对象,并指定大小 plt.AddScatter(xs, ys); // 添加散点图数据 对散点图进行必要的...