I would like to create a button that when I click it it evaluates a cell containing a manipulate code. Also, I would like another button that when I click the output of manipulate disappears.
How can I do it ?
|
I would like to create a button that when I click it it evaluates a cell containing a manipulate code. Also, I would like another button that when I click the output of manipulate disappears. How can I do it ? |
||||
|
|
|
The first button you don't have to create ;-) It's called the "Enter" button and it's already on your keyboard. Press it with the insertion cursor in the following block of code:
The second button is generated below. Pressing it toggles the Manipulate between an on and off state.
|
|||||||||||
|