ASKSAGE: Sage Q&A Forum - Individual question feedhttp://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Thu, 27 Nov 2014 06:26:21 -0600Are the Pari-GP functions Ploth & Plothsize supported by SAGE ?http://ask.sagemath.org/question/25016/are-the-pari-gp-functions-ploth-plothsize-supported-by-sage/ The Pari-GP functions Ploth & Plothsize are failing within SAGE
Both Ploth & Plothsize are returning the "high resolution graphics disabled" message. There are several references on the Pari-GP website to this error messages.
These functions work fine on my standalone windows version of Pari-GP
eg: ploth(X = 0,2*Pi,[sin(X),cos(X)],1) will draw a circle.
Wed, 26 Nov 2014 18:43:15 -0600http://ask.sagemath.org/question/25016/are-the-pari-gp-functions-ploth-plothsize-supported-by-sage/Answer by John Cremona for <p>The Pari-GP functions Ploth & Plothsize are failing within SAGE</p>
<p>Both Ploth & Plothsize are returning the "high resolution graphics disabled" message. There are several references on the Pari-GP website to this error messages.</p>
<p>These functions work fine on my standalone windows version of Pari-GP</p>
<p>eg: ploth(X = 0,2*Pi,[sin(X),cos(X)],1) will draw a circle.</p>
http://ask.sagemath.org/question/25016/are-the-pari-gp-functions-ploth-plothsize-supported-by-sage/?answer=25019#post-id-25019By default Sage builds the pari library with graphics support disabled. I imagine that this is because the graphics support provided by Sage itself is much more sophisticated. If you read the script which does the building of pari (in the Sage source tree this is the file build/pkgs/pari/spkg-install) there are some comments about this, including how to build pari with graphics support. I have not tried it but it looks as if you just have to set the environment variable PARI_CONFIGURE to either "--graphic=auto" or "--with-fltk" before building Sage from source. This would not work from a binary download, but if you have already built from source then try setting this variable, then running "sage -f pari" (to force a recompilation of pari) and then "make" in the Sage root directory (to rebuild stuff which depends on the pari library) might work.
Thu, 27 Nov 2014 06:26:21 -0600http://ask.sagemath.org/question/25016/are-the-pari-gp-functions-ploth-plothsize-supported-by-sage/?answer=25019#post-id-25019