Am 12 Jun 2006 um 14:16 hat Robert Dodier geschrieben:
> Hi Volker,
>
> > [ Typical plot command:
> > plot2d( f(x), [x,a,b], [gnuplot_preamble,"set grid; set size ratio -1"] );
> > That's long enough. ]
>
> If people are putting stuff into the gnuplot preamble, it is a sign
> that Maxima's plot2d is missing something.
> Specifically plot2d should recognize grid=true or false,
> and plot2d should set the x/y aspect ratio to 1 by default.
>
> Robert
>
Hi Robert,
I wouldn't speak about 'missing something'. Rather I would say that the gnuplot_preamble
offers you to get what you want. So I wouldn't vote for any default here. set size ratio -1
doesn't fit in all situations.
Question: Did you already think about having plot options, especially the gnuplot_preamble,
as global variables in top level? That would make plot commands much easier and shorter.
gnuplot_preamble:"set what you want"$
plot2d( f(x), x in range(a,b) )$
That would be nice.
We have recently been discussing about global variables (some paths). Adding some more?
Just an idea.
Volker