// Remember, everything here is being executed in your browser. Don't paste in things that you don't trust. Uncomment something to try it! graph.overlayBottom = false; // display the overlay at the top of the screen; // overlay('Example'); // Display something in the overlay, if there isn't an error. graph.axis = { x: { min: -10, max: 10 }, y: { min: -10, max: 10 } }; graph.display = { ticks: { every: 50, height: 10 } } // graph.f = x => x; // graph a straight line // graph.f.color = 'blue'; // make that line blue