Mathematica 9 is now available
Student Support Forum
Student Support Forum: 'clearing output' topicStudent Support Forum > General > Archives > "clearing output"

Help | Reply To Topic
Author Comment/Response
05/03/12 01:27am


I have a button that draws a polygon using Print[Graphics[...

Each time the button is pressed it creates a new polygon below the previous ones. However, what I want is for the button to erase the previous output and create the new polygon in its place.

How can this be accomplished? I feel like there must be a way to constrain the drawing in the same box that the button is in (I'm using manipulate to draw the button.)

Thank you

URL: ,
Help | Reply To Topic