Message Boards Message Boards


Manipulate histograms and normal distribution code line?

Posted 7 months ago
1 Reply
0 Total Likes

Hello! My project group and I have been working on a editing a mathematica code to model diffusion. We've got most of it down however, ln21 of the code produces a histogram with a dynamic red line dependent on variable "t" to model the variation in normal distribution with time. The trouble that we ran into here is that only the red line is dynamic while the histogram bars stay static. We would like to somehow get both the histogram and the line to move simultaneously depending on t. I've attached the notebook below showing all the progress we've made so far. It would be great if someone could point out what we should do next to in order to make the manipulate command work for both the histogram and the line.

Welcome to Wolfram Community! Please make sure you know the rules:

You should make a minimal example illustrating your issue, instead of making people track it through 20 equations.

Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
or Discard

Group Abstract Group Abstract