Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2009

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

Search the Archive

Re: Manipulate

  • To: mathgroup at smc.vnet.net
  • Subject: [mg102338] Re: [mg102323] Manipulate
  • From: Jaebum Jung <jaebum at wolfram.com>
  • Date: Thu, 6 Aug 2009 06:29:49 -0400 (EDT)
  • References: <200908050945.FAA18285@smc.vnet.net>

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
>
>
>   



  • References:
    • Manipulate
      • From: Youness Eaidgah <y.eaidgah@gmail.com>
  • Prev by Date: Re: Manipulate
  • Next by Date: Re: ListContourPlot3D bug?
  • Previous by thread: Manipulate
  • Next by thread: Re: Manipulate