简体   繁体   中英

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. I used PaintDC but it performed lower than 30fps and it caused high load. Is there any alternative solution in wxPython instead of just switching PyGame?

You should look at the wxPython mailing list. I doubt most users will notice if the frame rate is lower than 30 fps. You should also look at matplotlib which can be integrated into wxPython. See the following:

See also the following:

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM