LWN.net Logo

PyX: the Python Graphics Package

A new release (version 0.6.2) of PyX, the Python Graphics Package was released this week.

PyX is a Python package for the creation of encapsulated PostScript figures. It provides both an abstraction of PostScript and a TeX/LaTeX interface. Complex tasks like 2d and 3d plots in publication-ready quality are built out of these primitives.

[PyX] PyX version 0.6.2 features several bug fixes in the graphing module, the details are available in the changes document.

Some of the primary PyX capabilities include:

  • Plotting of basic X/Y graphs.
  • The ability to overlay graphics.
  • Plotting of 2D and 3D grid-based data.
  • Provision of an abstracted PostScript functionality.
  • Support for the powerful TeX and LaTeX typesetting languages.
  • Publication quality output.
  • An easy to use Python API.
The online examples show PyX in action, a wide variety of useful graphics are shown.

With the ability to combine many types of data plotting with the scientific typesetting capabilities of TeX/LaTeX, PyX looks like an excellent tool for the creation of mathematical texts, both online/interactive and printed.

See the PyX documentation page for more information.

The PyX source code is available here.


(Log in to post comments)

Copyright © 2004, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds