用了PlotWidget,直接嵌入到PyQt界面. 2. 用QTimer做实时动态显示,之前用threading模块中的线程加函数的方法有点问题. 3. 用setData方法,只更新数据,加快画图速度.
確定! 回上一頁