[Maxima] Plotting with sliders
ismaelgf at adinet.com.uy
Mon Sep 10 05:06:04 CDT 2007
Jaime Villate escribió:
> There is documentation for Openmath! Since Openmath is part of Xmaxima,
> you should look at the Xmaxima manual. In Xmaxima, you will find the
> manual in the "Help" menu, or you can read it directly from a directory
> which should be something such as:
> If you cannot find the Xmanual in your system, you can read it in our
> In particular, for the kind of plots you'd like to do, look at the third
> figure in:
> and the explanation of how it was done.
Thanks for your answers.
I couldn't find a complete command reference for openmath. Is there any?
Googling for it is hard, since there's a completly unrelated standard
named openmath about representing math equations.
> There is currently no way to do those kind of plots directly from
> Maxima, using plot2d, because I still have to figure out what to do in
> the case of gnuplot and because I have many other features to implement
> in plot2d/openmath (anyone willing to help, please jump in). You will
> have to create a file with a command that will be read from Xmaxima.
> Jaime Villate
Digging in the source I found that I can execute in maxima:
:lisp (show-open-plot "plot2d -xfun exp(m*x) -sliders m=-10:10");
And that will display the graph.
I wanted to graph, for instance, e^x against it's Taylor series
expansion of different orders and see how it varies when you change the
order. I guess that's not currently possible. You'd have to make
openmath evaluate the expression in maxima and then plot it, whenever a
slider is changed.
As for what to do with gnuplot, you could either disregard commands that
can't be used there and issue a warning, or you could create a new
command which specifically uses openmath and lets you access all the
Also, I want to thank you for openmath. Plotdf is great! It helped me
understand differential equations.
More information about the Maxima