PyQt GUI的动态更新图 [英] A dynamically updating graph for PyQt GUI

查看:148
本文介绍了PyQt GUI的动态更新图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经使用Qt4和PyQt开发了Qt GUI。我正在尝试实现一个图表,该图表将动态实时更新该图表,以表示(数据/秒格式)数据传输的速率。但是,问题出在实现可以完全实时更新的图形上,而没有找到速度。任何建议将不胜感激。作为记录,我希望将其作为GUI中的小部件而不是单独的弹出窗口来内置。

I have developed a Qt GUI using Qt4 and PyQt. I am trying to implement a graph that will dynamically "live update" the graph to represent the rate at which the data is being transmitted in a (data/sec format). However, the problem lies within implementing a graph that can cleanly live update, not finding the speed. Any suggestions would be greatly appreciated. For the record, I want this to be built in as a widget within the GUI not a separate pop-up window.

问候

sudo !!

推荐答案

我已经使用qCustomPlot(此处的网站)非常成功。我可以实时更新数千个数据点,使用起来非常简单。

I've used qCustomPlot (website here) with pretty good success. I can live-update several thousand data points and it's all very straightforward to use.

这篇关于PyQt GUI的动态更新图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆