load(draw) doesn't work



Hi,
it wasn't just me who had this problem, see: 
http://article.gmane.org/gmane.comp.mathematics.maxima.general/38292/match=gnuplot+mouse+rotate+hermann
My system (OSX 10.8 and maxima 5.28.0) requires first to start MANUALLY x11 BEFORE plotting via draw. That makes it work!
This should be added to the "How to install" file. 
Has any OSX user an idea how to automate the start of x11 with the plotting via draw?
bw (thx Adam!)
Jan

Am 30.10.2012 um 20:27 schrieb Adam <adammaj1 at o2.pl>:

> On 30.10.2012 16:17, Jan Hendrik Mueller wrote:
>> Hi,
>> I just installed wxMaxima on MacBookPro (OSX 10.8) for the first time. The following doesn't work:
>> (%i) load(draw);
>>        draw3d(explicit(sin(x*y),x,-3,3,y,-3,3));
>> (%o1) /Applications/Maxima.app/Contents/Resources/maxima/share/maxima/5.28.0/share/draw/draw.lisp
>> (%o2) [gr3d(explicit)]
>> What could I do to make it work? I installed and tested gnuplot, it works fine
>> Thanks in advance
>> Jan
>> 
> In my wxMaxima :
> 
> (%i2) build_info()$
> Maxima version: 5.22.1
> Maxima build date: 22:10 11/8/2010
> Host type: x86_64-unknown-linux-gnu
> Lisp implementation type: GNU Common Lisp (GCL)
> Lisp implementation version: GCL 2.6.7
> 
> I do not need to load draw ( it is loaded automaticaly)
> 
> but load works in your code.
> Also I have the same output of draw3d :
> 
> (%i1) draw3d(explicit(sin(x*y),x,-3,3,y,-3,3));
> (%o1) [gr3d(explicit)]
> 
> It works.
> I see image in a new window.
> If you do not see maybe on Mac it saves image to a file ?
> Check on your disk,
> 
> or try :
> draw3d(terminal  = 'screen,explicit(sin(x*y),x,-3,3,y,-3,3));
> 
> 
> HTH
> 
> Adam
> 
> 
> 
> 
> 
> 
> _______________________________________________
> Maxima mailing list
> Maxima at math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima