- Install virtual env from file:
conda env create -f pyqtgraphev.yml
- Activate env:
source activate qt4qtgraph
- sudo apt-get install python3-scipy
- sudo apt-get install python3-pyqt4
- git clone https://github.com/pyqtgraph/pyqtgraph.git pyqtgraph
- cd pyqtgraph
- python3 setup.py install
- sudo bash -c 'echo "deb http://packages.tiepie.com/raspbian/ tiepie main" > /etc/apt/sources.list.d/tiepie.list'
- Its a really fast-lib that has potencial
- It has dynamic zooming
- I can use some code from
Flowchar.py PlotSpeedTest.py plotAutoRange.py ScrollingPlot.py LinkedViews.py MultiplePlots.py
- Lib is good for science projects
- lib has EZ to read documentation
apt-get install pyqt4-dev-tools
/home/hermes/anaconda3/envs/qt4qtgraph/bin/python
pyuic4 -x two_plot.ui -o base_gui_vx.py
There are two ways of graphing any data in a plot:
- By waiting for data change occurs and only then plotting
- By constantly calling a method and polling for data
- If you pass a list of
n
elements then the x axis range will be0 to n
- A single plot space can have multiple line graphs painted on it all you have to do is to call
.plot()
method for a new instance