- #1
Kortirion
- 8
- 0
I am having trouble with ListPlot in combination with Manipulate. I can't see why it doesn't do what I tell it to.
What I'm trying to do: I have several functions that is dependent upon one parameter t. These functions I got from solving a system with DSolve. I'd like to see their values varying with this parameter t next to each other like amplitude spikes, spaced 1 apart on an axis (not the t axis!).
What I did: I tried using the Manipulate command like this
Manipulate[ListPlot[{
0.02 t^2,
0.4 t,
Abs[Subscript[y, 5][t] /. solution[[1]]]^2,
0.4 t,
0.02 t^2},
Filling -> filling, PlotRange -> All], {t, 0, 25}, {filling, {None, Axis, Top, Bottom}}]
here on place 3 is one of the functions that I'd like to see varying with t, and the other four places is just filled with some "whatever" functions.
What I get: I get the anticipated evolution of all those "whatever" functions, although nothing for the one in the middle at place 3. This is strange to me! Since I can successfully plot the function alone in t like this
Plot[Abs[Subscript[y, 5][t] /. solution[[1]]]^2, {t, 0, 75}]
But in the above Manipulate and ListPlot I have a total blank on place 3.
Someone feeling handy today?
What I'm trying to do: I have several functions that is dependent upon one parameter t. These functions I got from solving a system with DSolve. I'd like to see their values varying with this parameter t next to each other like amplitude spikes, spaced 1 apart on an axis (not the t axis!).
What I did: I tried using the Manipulate command like this
Manipulate[ListPlot[{
0.02 t^2,
0.4 t,
Abs[Subscript[y, 5][t] /. solution[[1]]]^2,
0.4 t,
0.02 t^2},
Filling -> filling, PlotRange -> All], {t, 0, 25}, {filling, {None, Axis, Top, Bottom}}]
here on place 3 is one of the functions that I'd like to see varying with t, and the other four places is just filled with some "whatever" functions.
What I get: I get the anticipated evolution of all those "whatever" functions, although nothing for the one in the middle at place 3. This is strange to me! Since I can successfully plot the function alone in t like this
Plot[Abs[Subscript[y, 5][t] /. solution[[1]]]^2, {t, 0, 75}]
But in the above Manipulate and ListPlot I have a total blank on place 3.
Someone feeling handy today?