绘图(图表)组件的建议?
我正在寻找一个小部件或控件来绘制数据的时间序列。基本上是plot(x,y),其中x和y是Nx1向量。我正在寻找,但没有找到太多,任何建议都会很棒!谢谢。
I am searching for a widget or control to plot a time-series of data. Basically plot(x,y) where x and y are Nx1 vectors. I am looking but haven't found much and any suggestions would be great! Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
使用 Delphi 提供的 TeeChart。适用于时间序列和实时图表。
Use TeeChart, supplied with Delphi. Good for time series and also real time graphs.
我更喜欢 Jedi VCL 库 中的 TJvChart,但后来我编写了 TJvChart,或者大部分内容。我推荐它的原因是它是免费的,但它有一些限制,包括缺乏适当的放大和缩小功能。
我不喜欢在我的应用程序中使用任何不包含源代码的组件,并且通常会警告不要在任何严肃的项目中使用闭源组件,因此如果您需要使用该组件,请计划购买 TeeChart 源代码。不过,我并不反对 Tee-Chart;如果您选择在商业项目中使用它,那就继续吧,它也很棒。请注意,对于您真正想要认真使用的任何东西,购买其源代码确实是 100% 值得的。
快速启动:
1.下载并安装JVCL。
2. 打开附带的 JvChart 演示。
Stackoverflow 风格教程:
1. 将 TJvChart 放到表单上。
2.编写以下代码:
I prefer TJvChart from the Jedi VCL library, but then I wrote the TJvChart, or most of it anyways. The reason I recommend it is that it's free, but it has some limitations, including a lack of proper zoom-in and zoom-out capability.
I don't like to use any component in my apps that does not include source code, and generally caution against closed source component use in any serious project, so plan to buy the TeeChart source code if you'll need to use the component. I'm not anti Tee-Chart though; If you choose to use it in a commercial project, go ahead it's great too. Just be aware that it's really 100% worth buying the source for anything you really want to use in a serious way.
Quick start:
1. Download and install JVCL.
2. Open included JvChart demos.
Stackoverflow style tutorial:
1. drop TJvChart on a form.
2. write this code: