Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #4648
| From | Peter Pein <petsie@dordos.net> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: Plot Manipulate Table |
| Date | 2011-08-29 11:45 +0000 |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Message-ID | <j3fu43$hep$1@smc.vnet.net> (permalink) |
| References | <j3fgc2$fbm$1@smc.vnet.net> |
Am 29.08.2011 09:50, schrieb . .:
> Hi all,
>
> I want to plot
>
> ConditionalExpression[(
> a^y \[Lambda] (a + \[Lambda])^(-1 - y) Gamma[1 + y])/y!,
> Re[a + \[Lambda]] > 0 && Re[y] > -1]
>
> y is the variable. The value of may be 0.1 and the value of [\Lambda]
> can be 1. It would be nice if "a" can be manipulable.
>
> I have seen this post,
>
> http://forums.wolfram.com/student-support/topics/26441
>
> but can not port the idea to my case. I have tried,
>
> Manipulate[
> ListLinePlot[
> Table[(a^y \[Lambda] (a + \[Lambda])^(-1 - y) Gamma[1 + y])/
> y!, {y, 0, 10, 1}], PlotRange -> {0, 1}, DataRange -> {0, 5},
> PlotMarkers -> Automatic], {a, 0.01, 1, 0.01}]
>
> but obviously
>
Hi,
if you did not assign a value to lambda, the plot command does not know
what to do with the symbilc values.
Try
Manipulate[
With[{\[Lambda]=1},
...
]]
or add a slider for lambda too:
Manipulate[
ListLinePlot[
(* Gamma[1+ y] and y! cancel of course *)
Table[a^y*\[Lambda]*(a + \[Lambda])^(-1 - y), {y, 0, 10}],
PlotRange -> {0, 1}, DataRange -> {0, 5},
PlotMarkers -> Automatic
], {a, 0.01, 1, 0.01}, {{\[Lambda], 1}, 0, 2, 0.05}
]
hth,
Peter
Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Find similar | Unroll thread
Plot Manipulate Table ". ." <xkziloj@gmail.com> - 2011-08-29 07:50 +0000 Re: Plot Manipulate Table Peter Pein <petsie@dordos.net> - 2011-08-29 11:45 +0000
csiph-web