ANN: matplotlib-0.2 matlab style plotting for python
John Hunter
jdhunter at ace.bsd.uchicago.edu
Wed May 14 15:26:48 EDT 2003
Announcing Matplotlib 0.2
matplotlib is a pure python plotting library designed to bring
publication quality plotting to python with a syntax familiar to
matlab users. Although the goal of publication quality is not yet
attained, the library does produce high quality 2D plots. All of the
plotting commands can be accessed either via a functional interface
familiar to matlab users or an object oriented interface familiar to
python users.
http://matplotlib.sourceforge.net
matplotlib requires python2.2, Numeric-22+ and pygtk-1.99.16, and
should run anywhere those packages are available. It has been
tested under linux and win32.
The following matlab compatible plotting commands are provided:
axes, axis, bar, close, errorbar, figure, gca, gcf, get, hist,
plot, scatter, set, subplot, text, title, xlabel, ylabel
What's new in 0.2
Font handling - Major improvements in font and text
handling. matplotlib 0.1 drew all text in the same,
non-configurable font. In 0.2, font name, size, weight, and
angle, color, rotation, and more are easily configurable. See
the text tutorial on the website
Multiple figures -- Multiple figures supported with the figure
command. See the Working with multiple figures and axes in the
tutorial
Interactive shell -- Interactive use from the python shell if you
have pygtk compiled with threads. See Using matplotlib
interactively.
Saving figures- Ability to save figures in arbitrary resolution PNG
or TIFF with a bug fix that caused saved figures to be corrupted
by anything blocking the figure window. A GUI widget has been
added to the figure toolbar to save figures and a new comand
savefig has been added.
Navigation - A new and hopefully improved navigation toolbar has
been added that doesn't require a wheel mouse, but still works
with one. See the Navigation tutorial.
More examples and screenshots - New examples and screenshot
illustrating the new text functionality, the new plot types, and
new commands. See the examples subdirectory in the src
distribution.
Patches - A Patch class added for drawing patches (rectangles,
polygons, circles). This supports three new plotting commands
scatter, hist and bar, with more to come.
New commands - New plotting commands bar, close, errorbar, figure,
hist, text, scatter, savefig, ylabel.
Matplotlib on sourceforge - matplotlib homepage moved to sourceforge
with a (hopefully) more useful homepage.
Documentation - Much better documentation and a tutorial.
Refactoring - Substantial rewrite of class library. All text now
handled by the AxisText class in text.py. Axis handling refactored
into a dedicated class Axis defined in figure.py.
More information about the Python-list
mailing list