Skip to content
simple, elegant python plotting
Python C Makefile C++

README.md

Biggles : Scientific Plotting with/in/for Python

Biggles is a Python module for creating publication-quality 2D scientific plots. It supports multiple output formats (postscript, x11, png, svg, gif), understands simple TeX, and sports a high-level, elegant interface. It's intended for technical users with sophisticated plotting needs.

Simple Example

Here's a simple biggles script:

#!/usr/bin/env python

import biggles

x = [1, 2, 3, 4, 5]
y = [5, 4, 3, 2, 1]

p = biggles.FramedPlot()
p.add( biggles.Curve(x, y) )
p.show()

This produces an X window with a framed plot of the curve y(x). You can find more in the examples directory included with the source distribution. Also, see the gallery on the web.

See the full documentation for more details.

Installation

Biggles requires numpy and GNU plotutils.

Macports:

$ sudo port install plotutils +x11
$ sudo port install py27-biggles

Homebrew:

To install with homebrew, you will need to download the package directly from GitHub. Then follow these steps.

$ brew install plotutils --with-x11
$ cd /path/to/biggles/
$ python setup.py install

Debian/Ubuntu:

$ sudo aptitude install python2.7-pybiggles
Something went wrong with that request. Please try again.