I am having trouble with ListPlot in combination with Manipulate. I can't see why it doesn't do what I tell it to.(adsbygoogle = window.adsbygoogle || []).push({});

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 otherlike 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 nothingfor 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?

**Physics Forums | Science Articles, Homework Help, Discussion**

Dismiss Notice

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Mathematica: Regarding ListPlot and Manipulate

**Physics Forums | Science Articles, Homework Help, Discussion**