Document made with KompoZer

BLOG:

Our laboratory Blog

Positions:

Post Doctoral Opening

Scholarships - Grants

Downloads:

**  Download Sensory Information Science Course
** Download Micro-Phenomena course
** Download Intro to Quantum Mechanics course

Thesis

** Download students Degree, Master and Doctor thesis

Members


Group photo

R. Micheletto
Sun Zhe

Publications

All Publications

Statistics


Flag Counter


This is how we installed pyQtGraph library on Ubuntu 14.04 :

A. Download the library

Download it from the home page here (find the Ubuntu/Debian link and click it).

(Your python installation should contain the python "qtopengl" libraries. However, these usually are not installed by default. If this is the case, go in "synaptic" package manager, search for "python-qt4-gl" and install it, or use the command line "sudo apt-get install python-qt4-gl")

B. Install

In Ubuntu 14.04 you will be prompted by the Ubuntu Software Center to install, the package. Accept and install.

C. Test it

Open a terminal and type python to reach your python interpreter. Then test the installation with the command

import pyqtgraph.examples
pyqtgraph.examples.run()

The program will show a long list of examples of plots, multiple plots, panels, interactive functions and other graphs, with source accessible and readable explanations. We found those examples easy to understand and reproduce, however they show advanced features and it take its time to undestand them fully.

For a straighforward undestanding we have prepared these two files that have simpler and commented basic examples for your immediate use: 2D plots and 3D plots.

Here is a video demonstrating the output of these two examples.


This is another video demonstrating more functionality of the interactive functions of the library. The python code generating these plots is here.