Bruno Rothgiesser on Fri, 15 Mar 2002 10:23:51 -0300

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: Pari and GNUPlot


Last week I needed to enable the "plot to file" feature and I had to
reinstall Pari with the gnuplot interface.

Try it:
(This is what I did. Tell me if you need details... I could take a look in
my .bash_history)

1) Install the gd library. This will allow gnuplot to generate gif files.
You can get it in:

2) Create a directory "gnuplot" inside pari source dir.

2) Copy gnuplot source files to the "gnuplot" dir.

3) Configure gnuplot with the "--with-gif" flag and then compile it. You
will have to link the gd library.

4) In the gnuplot dir, type "ar cr libgnuplot.a version.o util.o term.o
bitmap.o stdfn.o"

5) Copy libgnuplot.a to /usr/lib

6) Go back to pari source dir.

7) Add "-libgnuplot" to the PLOTLIBS variable in the file

6) If you have installed pari before, type "make clean", Maybe it's not
necessary, i don't know.

7) Type "./Configure--graphic=gnuplot" and then "make gp".

8) Type "make install"

I hope it works.


----- Original Message -----
From: David Finney <>
To: <>
Sent: Wednesday, March 13, 2002 11:12 PM
Subject: Pari and GNUPlot

Brand new Pari user here. How to I configure GP to use GnuPlot? From the



*** high resolution graphics disabled

How do I configure GP to use GnuPlot for high resolution graphics?

Do You Yahoo!?
Get your free address at