[Pythonmac-SIG] MacPython and Gnuplot
Matt Foster
matt.p.foster at gmail.com
Thu Jan 29 14:29:20 CET 2009
On Tue, Jan 27, 2009 at 5:33 AM, raf . <arawak1 at yahoo.com> wrote:
> I have MacPython 2.5 on my iMac. I also have Gnuplot.app Version 4,2.
> How do I get them to work together?
>
> Can someone show a simple example or instructions. They both came with my
> iMac.
>
> ron francis
You'll probably need to get something like gnuplot.py:
http://gnuplot-py.sourceforge.net/
There's a demo file inside of the package that will show you how to get started.
You might need to use something like, too:
import Gnuplot
Gnuplot.GnuplotOpts.gnuplot_command =
'/Applications/Gnuplot.app/Contents/Resources/bin/gnuplot'
If you're interested in using gnuplot on it's own, I maintain an open
source bundle for TextMate which you might find useful:
http://github.com/mattfoster/gnuplot-tmbundle/tree/master
I hope this helps,
Matt
--
Matt Foster | http://hackerific.net
More information about the Pythonmac-SIG
mailing list