Bill Allombert on Sat, 8 Mar 2003 02:17:12 +0100


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

Re: Plotting in PARI


On Fri, Mar 07, 2003 at 08:07:05PM +0000, p g duncan wrote:
> Hello
> 
> I am a student using PARI/GP at university.  I am having difficulties 
> plotting using the program.  Can anyone help, please?  Here are the 
> details: I am using PARI/GP 2.1.4 compiled from source on SuSE Linux 8.0 
> on an Intel based PC.  When I issue:
> 
> > \p 9
> > ploth(X = -2, 2, sin(X^7))
> 
> I get an error message:
> *** high resolution graphics disabled
> 
> What is going wrong?  How do I enable high resolution graphics?  Thank 
> you in advance for your help.

No graphic library where found at Configure time. Do you have
the Xlib headers files installed ?

They are probably in a rpm package named "XFree86-devel".

Alternatively you can use psplot for postscript graphics.

Cheers,
Bill