How to make a basic GUI for interactive plot in Python | PyQt5 | PyQtGraph

preview_player
Показать описание
This video provides an insight to develop a GUI for the sine and cosine waves in Python. The x axis is from 0 to 2pi. As the user move mouse on the plot, the values are also updated. Thanks for watching, if you have questions, suggestions, please comment, sorry for a little bit typos, Thanks a lot!

IMPORTANT: A brand new, quick and amazing PyQT5 learning series

#pyqt5
#pythongui
#pyqt
#python3
#learnpythonprogramming
Рекомендации по теме
Комментарии
Автор

Recommended:
How to make a GUI using PyQt5 and Matplotlib to plot real-time data: PyQt5 tutorial - Part 10

pyshine_official
Автор

Any thoughts how to maintain a high frame-rate when continuously appending/plotting large arrays of data? I'm receiving 8000 data points from the serial, so for each sample received, I append it to a numpy array, then use pg to plot it real-time. The problem is, the frame rate starts at 60fps but slowly drops as the array grows... less than 3fps after only a few hundred points!

I've read using multiprocessing/pipes may offer better performance than using threads or queues, is that your experience?

bennguyen