Skip to content

Using pyqtgraph to create a real-time updating plot.

Notifications You must be signed in to change notification settings

xkllkx/Pyqtgraph_example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

PyQtGraph_Example

This repository demonstrate the use of pyqtgraph to create a real-time updating plot. The script initializes a graphical window and continuously updates a plot with new data points calculated as the sine of the current index. The plot displays a sine wave with the x-axis representing the data points and the y-axis representing the sine values. The plot updates every 30 milliseconds to simulate a real-time data stream. https://github.com/xkllkx/pyqtgraph_example/blob/main/output.gif

Installation

pip install pyqtgraph numpy

How to use this repo

Run the example script to see the real-time plot in action.

python example.py

About

Using pyqtgraph to create a real-time updating plot.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages