I want to send a few Manipulate Plots and regular plots to my advisor in a notebook. I typically Import data into my notebook to generate plots but when I open my file on a new computer, the regular Plots stay but the Manipulate ones are dead, until I Import the data again. Is there any way I can keep the data inside the notebook so when he "enables dynamic" to open the notebook on his computer, that the Manipulate plots become active, just the way the data in regular plots are not lost ?
Tell me more
×
Mathematica Stack Exchange is a question and answer site for
users of Mathematica. It's 100% free, no registration required.
|
|
|||
|
|
|
Try the below code. Execute, then save the notebook it is in. Kill the kernel with
|
|||||
|
|
You could use the
Alternatively, you could store the data in a separate initialization cell. That is create a cell like so:
And create (anywhere in the notebook) a separate initialization cell like so:
Note that this initialization could contain the pre-downloaded data, rather than an import type command. The important issue is that it's cell properties be set to be an initialization cell. |
|||||||
|
