https://github.com/biggles-plot/biggles
simple, elegant python plotting
https://github.com/biggles-plot/biggles
plotting python
Last synced: about 2 months ago
JSON representation
simple, elegant python plotting
- Host: GitHub
- URL: https://github.com/biggles-plot/biggles
- Owner: biggles-plot
- License: gpl-2.0
- Created: 2012-05-01T21:18:40.000Z (almost 14 years ago)
- Default Branch: master
- Last Pushed: 2020-05-25T13:53:02.000Z (almost 6 years ago)
- Last Synced: 2026-01-03T10:59:50.519Z (about 2 months ago)
- Topics: plotting, python
- Language: C
- Homepage: http://biggles-plot.github.io
- Size: 4.74 MB
- Stars: 19
- Watchers: 4
- Forks: 4
- Open Issues: 19
-
Metadata Files:
- Readme: README.rst
- Changelog: CHANGELOG.md
- License: COPYING
Awesome Lists containing this project
README
================================================
Biggles : Scientific Plotting with/in/for Python
================================================
.. image:: https://travis-ci.org/biggles-plot/biggles.svg?branch=master
:target: https://travis-ci.org/biggles-plot/biggles
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 `_ libpng, X11 libraries and
ghostscript
**Homebrew**::
$ wget https://dl.bintray.com/xquartz/downloads/XQuartz-2.7.11.dmg
$ sudo hdiutil attach XQuartz-2.7.11.dmg
$ sudo installer -package /Volumes/XQuartz-2.7.11/XQuartz.pkg -target /
$ brew install ghostscript
$ pip install biggles
**Debian/Ubuntu**::
$ sudo apt install build-essential libx11-dev libxft-dev libxt-dev libxaw7-dev libpng-dev ghostscript
$ pip install biggles