load(draw) doesn't work



Hi Mario,

load(draw)$
set_draw_defaults(terminal=aquaterm)$
opens a gnuplot window but you can't rotate the graph by using the mouse.

set_draw_defaults(terminal=x11)$
is an invalid value for "terminal" (see maxima->help->terminal). If I type this I get "illegal terminal specification: x11" although I installed x11 already. The other terminal values also don't work...

algunos ideas?
saludos
Jan

Am 31.10.2012 um 19:32 schrieb Mario Rodriguez <biomates at telefonica.net>:

> El mi?, 31-10-2012 a las 13:09 +0100, Jan Hendrik Mueller escribi?:
>> 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?
> 
> Jan,
> 
> If I'm not mistaken, plot?d makes use of the default gnuplot terminal,
> but draw sets the default terminal depending on the operating system:
> 
> Linux -> set terminal x11
> Windows -> set terminal windows
> 
> I don't remember the exact details, but I think the Maxima-Mac packager
> changes by hand the default terminal to be
> 
> Mac -> set terminal aquaterm
> 
> 
> 
> That is, when you install Maxima in your computer, the default terminal
> is aquaterm. If you need to plot on a x11 window, you have to set it
> this way:
> 
> terminal = x11
> 
> Probably, you can also make use of
> 
> terminal = wxt
> 
> 
> To avoid writing 'terminal = x11' every time you want to plot something,
> you can write in your Maxima init file:
> 
> load("draw")$
> set_draw_defaults(terminal=x11)$
> 
> 
> I've never used a Mac. I hope this diagnostic is correct.
> 
> --
> Mario
>