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