From the category archives:

figures

3D Plotting in Python with matplotlib mplot3d

by Jessica February 1, 2010

I recently needed to do some simple 3D plotting in python. The strongest choice as discussed on the web is Mayavi, which is part of the Enthought Python distribution. However, I have a previous python distribution already installed (via scisoft) with all of my favorite packages updated to the latest and greatest versions (e.g. matplotlib, [...]

3 comments Read more →

Your friend Convert

by Jane Rigby November 18, 2009

Do you use the tool “convert” to manipulate plots and images?  It’s simple, powerful and downright great!  Quick examples:
Modify a plot for presentation use, by swapping to a black background with white lines, so it’s easier to read on a screen:
> convert  -negate frompaper.ps  forscreen.jpg
Make a thumbnail:
> convert -geometry 50×50 big.jpg thumbnail.gif

1 comment Read more →

Hungry for Plots? Get some APLpy!

by Eli July 20, 2009

Today APLpy 0.9.3 is out! It is a Python plotting package made to generate publication-quality plots in multiple formats such as EPS, PDF, PS, PNG, and SVG.
APLpy was created by Thomas Robitaille and Eli Bressert, who come from a Fortran and IDL background. With Python’s ease of use, portability, and programming they decided to make [...]

6 comments Read more →