newbie question, replotting a graph



Hugo,

> I have a real function f(x) wich has a parameter p
> I want Maxima to replot the function for different values of the
> parameter p, without erasing the previous plot(s), just "adding" all plots
> together. I this possible? How can I achieve this?

Maxima doesn't have a replot function (although it would be useful).
Replot is on the wish list.

plot2d accepts a list of expressions and plots all at once.
So you just have to figure out a way to generate the whole list of expressions.

e.g.

F(x) := x^p;
L : makelist (F(x), p, 0, 3);
plot2d (%, [x, -2, 2]);

Hope this helps
Robert Dodier