Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #9287

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

From Helen Read <readhpr@gmail.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Manipulate[Plot[Evaluate[expr]]]
Date 2012-03-29 08:06 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <jl155p$lei$1@smc.vnet.net> (permalink)
References <jku7s6$8jl$1@smc.vnet.net>

Show all headers | View raw


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

Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Manipulate[Plot[Evaluate[expr]]] leigh pascoe <leigh@evry.inserm.fr> - 2012-03-28 05:33 +0000
  Re: Manipulate[Plot[Evaluate[expr]]] roby <roby.nowak@gmail.com> - 2012-03-28 10:02 +0000
  Re: Manipulate[Plot[Evaluate[expr]]] Tomas Garza <tgarza10@msn.com> - 2012-03-29 07:59 +0000
  Re: Manipulate[Plot[Evaluate[expr]]] Helen Read <readhpr@gmail.com> - 2012-03-29 08:06 +0000

csiph-web