Find roots



Aleksas,

Thanks for the example!  I tried this out, and with_slider appeared to be a
no-op, so I thought there must be some load file necessary.  After some web
searches, I discovered that with_slider is specific to wxMaxima only.  I
tried your example in wxMaxima, and it worked -- very nice functionality
that I wasn't aware of!

I then tried to find documentation for it.  The Maxima documentation
command "? with_slider" gives nothing, but then we have a problem with "?"
and add-on packages. A quick web search turns up several *examples* (e.g.
http://andrejv.github.com/wxmaxima/tutorials/Slider.zip), but no reference
material.  In particular, I wanted to understand how I'd have
*multiple* sliders,
how to display the parameters ([legend,*parameter*] doesn't work), how to
change the size of the plot box, how to display in its own window, etc.
 For multiple parameters, I tried nesting with_slider, but that didn't work.

I took a look at the definition of with_slider; it is an mfexpr* which
calls a function wxanimate.  I downloaded the source of wxMaxima, and after
some searching finally found the function wxanimate in data/wxmathml.lisp
(why is a source file in ./data rather than ./src?), with zero comments or
documentation.  I noticed that it calls plot2d, so I traced plot2d and
found that it in fact is generating multiple static plots.  Ah, so perhaps
multiple sliders wouldn't work so well....

Anyway, could someone who understands the slider functionality please write
up some documentation?  It's really nice functionality that it's a pity not
to have documented.

Also, if you refer to functionality that is specific to one wrapper of
Maxima, it would be useful to specify that....  Not everyone uses wxMaxima.

Thanks!

             -s

On Sat, Jan 5, 2013 at 1:28 PM, Aleksas Domarkas <aleksasd873 at gmail.com>wrote:

>  Correction:
>
> -->   with_slider(
>    a,makelist(i,i,1,20),
>
>    [log(x^3-x*78+90)+a*x],
>    [x,-20,20],
>    [legend,false]);
>
> Aleksas D
>
> _______________________________________________
> Maxima mailing list
> Maxima at math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima
>
>