On 1/11/08, much at mat.uni.torun.pl <much at mat.uni.torun.pl> wrote:
> I try to force maxima to plot graphs of many constant functions
> without the description which line represents which function.
Well, you can try plot2d(..., [gnuplot_preamble, "set nokey"]) to
tell Gnuplot to omit the list of lines and their associated expressions.
However I suspect that there are other, bigger problems here ...
> reset(f,x);
You want kill(f, x) here -- reset is something else.
> plot2d(Aalf,[x,0,1],[y,0,1]); //this plots ,,the chaotic Balmer ;) lines"
Not sure what you were hoping to see here. Maybe you'll
need to explain in more detail. Here's a wild guess.
Aalf1 : append (rest (Aalf), [0]);
plot2d ([discrete, join (Aalf, Aalf), join (Aalf, Aalf1)]);
> why I cant get simply letter g when plotting earlier
> defined function g instead of lengthy full formula?
If you write plot2d(g(x), ...) then plot2d sees whatever you see
when you evaluate g(x) -- typically some expression.
If you write plot2d(g, ...) i.e. you just name the function, then
plot2d sees the g, and labels the line accordingly.
> plot2d([[discrete,arg,Alf],[discrete,arg,Alf1],[discrete,arg,Bet],c],[x,0,dl],[y,0,1]);
Not sure what this should show -- when I try it, Maxima
complains that c is undefined.
I'm sorry that plotting is kind of clumsy. You might take a look at
the draw package which has a more general and, I hope, easier
to use syntax. ? draw at the interactive prompt should show some info.
HTH
Robert Dodier