error with draw_graph in graphs package



El mi?, 30-05-2012 a las 15:12 +0200, jcarbaut at voila.fr escribi?:
> Hi all,
> 
> I have some problems with the function draw_graph from package
> "graphs", in Maxima 5.27.0. Here is the test :
> 
> load(graphs);
> t:tutte_graph();
> draw_graph(t);
> 
> Under Linux Debian 64 bits with Maxima 5.21.1, it shows the graph
> inside wxMaxima, no problem.
> Under Windows 7 64 bits with Maxima 5.27.0, it show a placeholder for
> the image, and an error message, stating only "Error" followed by the
> path where the png image should be : "C:/Users/<my login
> name>/maxout_2.png".
> 
> Does anybody have an idea to overcome this problem ?


Hello,

This is a known bug. Download draw.lisp and grcommon.lisp from here:

http://maxima.git.sourceforge.net/git/gitweb.cgi?p=maxima/maxima;a=blob_plain;f=share/draw/draw.lisp

http://maxima.git.sourceforge.net/git/gitweb.cgi?p=maxima/maxima;a=blob_plain;f=share/draw/grcommon.lisp

and place them in your local share/draw folder.

That should fix your problems with wxdraw.

--
Mario