Message Boards Message Boards

Manipulate histograms and normal distribution code line?

Posted 6 years ago

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.

Attachments:
POSTED BY: Aditi Sharma

Welcome to Wolfram Community! Please make sure you know the rules: https://wolfr.am/READ-1ST

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

POSTED BY: Moderation Team
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract