MathGroup Archive 2009

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Manipulate


There are many ways to do such things depending on what you want to do 
with those values. 

One example might be:

F[n_, m_, x_] := x^n + m; Manipulate[n = n1; m = m1;
 Plot[F[n1, m1, x], {x, 0, 10}], {{n1, 0, "n"}, 0, 5}, {{m1, 0, "m"},
  0, 9}]

Dynamic[{n, m, j = n + m}]

- Jaebum


Youness Eaidgah wrote:
> Dear all,
>
> I am want to use =93Manipulate=94 to find the most interesting values of a
> number of variables. For example (it is just an example. They real function
> is much more complex):
>
> F[n_,m_,x_]:=x^n+m;
>
> Manipulate[Plot[F[n,m,x],{x,0,10}],{n,0,5},{m,0,9}]
>
> This Manipulate gives me a plot with two sliders, one for =93n=94 and one of
> =93m=94. Is it possible to export the value of =93n=94 and =93m=94 from manipulate
> interactive plot to the rest of program. Let=92s say, at the following of
> program, I have a line like this:
>
> j=n+m
>
> I want to use the values of "n" and "m" form manipulate here. So, once I
> change the value of =93n=94 or =93m=94 through their sliders, the value of =93j=94 needs
> to be updated. Is it ever possible? Thank you for being helpful.
>
> All the bests,
>
> Youness
>
>
>   



  • Prev by Date: Re: Manipulate
  • Next by Date: Re: ListContourPlot3D bug?
  • Previous by thread: Manipulate
  • Next by thread: Re: Manipulate