draw package 1.7



Hallo,

> 
> I m using the new package draw.lisp for teaching puposes - a phantastic tool.

schoen dank!

> Using version <1.7 with WindowsXP Home and wxMaxima 5.11.0 I was able to reproduce most of
> the pictures from Mario's 'A Maxima-Gnuplot interface' documentation - but only by
> commenting out those parts of the examples dealing with colors (because this option is
> new) .. ok. Great.
> 
> Now I am trying the new version draw 1.7 - with colors (because it looks really wonderful
> :).
> It works if I specify the option 'terminal=png',
> but it does not work with the option 'terminal=screen' or without giving any terminal
> option.

In fact, you never need to specify terminal=screen, since this is
default. This option automatically selects the correct terminal: windows
or x11, depending on your operating system. In any case, this should
also work:

draw2d(terminal=screen, explicit(x^2,x,-1,1));

> Yes, I know Mario's warning :'You need Gnuplot 4.2 and Maxima 5.12 to run this package.'
> Ignoring Marios's warning I watched the following effect:
> the color picture is seen for a tiny moment on screen, but then it vanishes at once.

> Q: It is possible to use draw1.7 using wxm5.11 with some 'tricks' and terminal=screen
>    or have I to wait for the release of 5.12?
>    As I see the developers have now reached the critical number 5.11.99..rc :)
>  

Sorry, but I can't reproduce this problem. Once you have draw1.7 in your
local share/draw folder, something like this should work:

draw2d(color=blue, explicit(x^2,x,-1,1));

In my current rc2 installation it works in console, xmaxima and
wxmaxima-0.7.2 (linux). I'll make some tests in windows tomorrow at
work.

Thanks.
-- 
Mario Rodriguez Riotorto
www.biomates.net