Action button showing graph

What do I need to type in to the CL for a graph to show up when I click the action button?

I want the action button to display y=5sin(x)

You want the action button to display the graph of y=5sin(x)?

  • Create a button and label it “button”(or whatever you like)
  • Create a graph you want to hide/show
  • In the graph CL, type: hidden: button.pressCount=0

Then whenever the button is clicked the graph will show