Overview — PlotPy 2.7 Manual (original) (raw)

Main features

plotpy is a Python module providing a set of high-level widgets and functions to ease plotting data with Python and Qt. It can also be seen as a handy toolbox to develop custom scientific or technical data visualization applications using Python and Qt.

plotpy is part of the PlotPyStack project, a software stack for scientific data visualization containing the following modules:

plotpy is also based on the following Python modules:

The plotpy library provides the following main features:

Advanced features

The plotpy library provides the following advanced features.

Curve plotting:

Image plotting:

Performance

The most popular Python module for data plotting for desktop applications ismatplotlib. It is a very powerful module providing a lot of plotting types and an API (the pylab interface) which is very close to MATLAB’s plotting interface.

Even if plotpy plotting features are quite limited in terms of plot types compared to matplotlib, the currently implemented plot types are much more efficient.

For example, the plotpy image showing features do not make any copy of the displayed data, hence allowing to show images that are much larger than what is possible with matplotlib. Moreover, the memory footprint ofplotpy is much smaller than matplotlib’s one. For example, a 30-MB image is displayed using 30-MB of memory with plotpy whereas matplotlibuses more than 600-MB of memory to display the same image. This is due to the fact that matplotlib makes multiple copies of the original data array: the original array is duplicated four times using 64-bits float data types.

Detailed features

The plotpy library provides the following features: