简体   繁体   English

在wxPanel中绘制实时图形的最佳方法是什么?

[英]What's the best way to plot realtime graph in a wxPanel?

There will be approximately 400 line in each frame in 400*300 wxPanel. 400 * 300 wxPanel每帧中约有400行。 I used PaintDC but it performed lower than 30fps and it caused high load. 我使用了PaintDC,但它的性能低于30fps,导致高负载。 Is there any alternative solution in wxPython instead of just switching PyGame? 在wxPython中有没有替代解决方案而不仅仅是切换PyGame?

You should look at the wxPython mailing list. 您应该查看wxPython邮件列表。 I doubt most users will notice if the frame rate is lower than 30 fps. 我怀疑大多数用户会注意到帧速率是否低于30 fps。 You should also look at matplotlib which can be integrated into wxPython. 您还应该查看可以集成到wxPython中的matplotlib。 See the following: 请参阅以下内容:

See also the following: 另见以下内容:

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 plot 一个非常大的 pandas dataframe 的最佳方法是什么? - What's the best way to plot a very large pandas dataframe? 在具有 Python 的网站上抓取和 plot 连接页面的最佳方法是什么? - What's the best way to scrape and plot connected pages on a website with Python? 垂直对齐 wxpanel 中心的图像和按钮的最简单方法是什么? - What is the easiest way to align images and buttons in the center of wxpanel vertically? 填充 numpy 阵列并绘制图形的最佳方法是什么? - What is the best way to pad a numpy array and graph it? 使用python绘制存储在csv中的最新值的最佳方法是什么? 下面的代码绘制图形,但要逐行 - what is the best way to plot the most recent value that is being stored in csv using python? The below code plots graph but want line by line 在Python中处理XML的最佳方法是什么? - What's the best way to handle XML in Python? 在python中循环该程序的最佳方法是什么? - What's the best way to loop this program in python? 处理输出重定向的最佳方法是什么? - What's the best way to handle output redirection? 在Python中执行此操作的最佳方法是什么? - What's the best way to do this in Python? 在这种情况下,提取文本的最佳方法是什么? - What's the best way to extract the text in this case?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM