[Pythonmac-SIG] MacPython and Gnuplot

Russell E. Owen rowen at u.washington.edu
Thu Jan 29 21:28:48 CET 2009


In article 
<1dcb3f200901290529y76674160ya3f21bb180b43c04 at mail.gmail.com>,
 Matt Foster <matt.p.foster at gmail.com> wrote:

> 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

I believe the matplotlib installer is intended for use with python.org's 
python -- not a bad thing, but it means you'll also want to install a 
new Python before you install matplotlib.

-- Russell



More information about the Pythonmac-SIG mailing list