Hi Adam,
On S?b, 2009-10-24 at 16:46 +0200, Adam Majewski wrote:
> Can I plot equipotential lines (contour lines) of this filed using
> plotdf ?
No you can't. Plotdf works passing a function to openmath once that
function is passed to the plotdf tcl/tk script, it is that script and no
Maxima which will make all the numerical calculations. That means that
plotdf does not know all the functions known to Maxima.
As explained in the "Help" section of openmath plots:
"The syntax for the definition of functions is like C, except that it is
permitted to write x^n instead of pow(x,n)."
For instance, you can use a function that you would write in a C program
such as: x^2*sin(x), but you cannot use a function that you previously
defined in Maxima, such as GiveFLogPhi(z0,c,e_r,i_max).
To make it work, plotdf should undergo a major change: maxima would
invoke the plotdf tcl/tk script which should communicate with the
current maxima session to make all of its calculations.
Regards,
Jaime