Skip to main content

simple, elegant python plotting

Project description

https://travis-ci.org/biggles-plot/biggles.svg?branch=master

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:

>>> 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
$ pip install biggles

Homebrew:

$ brew install plotutils --with-x11
$ pip install biggles

Debian/Ubuntu:

$ sudo apt-get libplot-dev plotutils
$ pip install biggles

Windows

This kind of install is not well tested at the moment. Please report bugs if you find them!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

biggles-1.7.2.tar.gz (127.0 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page