[英]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.