Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2012

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

Search the Archive

Re: Manipulate[Plot[Evaluate[expr]]]

  • To: mathgroup at smc.vnet.net
  • Subject: [mg125703] Re: Manipulate[Plot[Evaluate[expr]]]
  • From: Helen Read <readhpr at gmail.com>
  • Date: Thu, 29 Mar 2012 03:02:24 -0500 (EST)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • References: <jku7s6$8jl$1@smc.vnet.net>

On 3/28/2012 1:33 AM, leigh pascoe wrote:
> Could someone please help me with the syntax of a dynamic plot?
>
> I would like to plot a function with 3 constants, for various values of
> the constants (M, t and f say) and for the variable x going from zero to
> 50. I have been unable to find the correct syntax for the
> Manipulate/Plot command. Here is one attempt that shows the function to
> be evaluated and the 3 constants
>
> Manipulate[
>   Plot[M/\[Tau] \[Phi]^M E^(-(x/\[Tau])) (1 - E^(-(x/\[Tau])))^(
>     M - 1), {x, 0, 50}], {{M, 1, 12, 1}, {\[Tau], 3, 15,
>     1}, {\[Phi], .5, .8, .1}}]

You've got an extra set of braces. Try this.

Manipulate[
  Plot[M/\[Tau] \[Phi]^
     M E^(-(x/\[Tau])) (1 - E^(-(x/\[Tau])))^(M - 1), {x, 0, 50}], {M,
   1, 12, 1}, {\[Tau], 3, 15, 1}, {\[Phi], .5, .8, .1}]



-- 
Helen Read
University of Vermont



  • Prev by Date: Frontend graphics memory leak
  • Next by Date: Re: Using Table and ignoring all errors and warnings?
  • Previous by thread: Re: Manipulate[Plot[Evaluate[expr]]]
  • Next by thread: Re: Manipulate[Plot[Evaluate[expr]]]