Plot quality



Henry Lenzi wrote:
> Hello --
>
> I'm running maxima on a Linux box. I don't really like the quality of
> the plots (not smooth, anti-aliased).
> Is there something I can tweak in or. er to obtain better graphics?
>
> TIA,
> Henry

The quality of the output depends on the terminal.

By default, linux systems use the x11 terminal, but I find that the 
wxwidgets terminal has a better visual effect:

draw3d(
   terminal = wxt,
   explicit(20*exp(-x^2-y^2)-10,x,-3,3,y,-3,3));

In case you want your plot in a file, probably the Postscript terminal 
is your better choice:

draw3d(
   terminal = eps,
   explicit(20*exp(-x^2-y^2)-10,x,-3,3,y,-3,3));


You can also select the terminal with Maxima's standard plotting 
functions plot2d and plot3d:

plot3d(
   20*exp(-x^2-y^2)-10,[x,-3,3],[y,-3,3],
   [gnuplot_preamble , "set term wxt"]);


Mario