This tutorial shows how to draw a trig function. When doing this, the x-axis is often used to represent an angle. Here we will set up the x-axis so that it runs from -360 degrees to +360 degrees. We will be graphing the sine function, and it has an output range of -1 to +1. Our graph will be set up for y-coordinates from -2 to +2, so all of the function output values will fit on the graph.
The switch to these new bounds is done automatically for you on this page, but, of course, you could do this manually by clicking on the appropriate bounds from the drop down selections on the graph panel.
The example program draws a sine function twice. The first time it uses the point to point drawing method. The second time it uses the line segment method.
Click the 'Go' button and you will see the familiar sine wave.
Next tutorial: The input gizmo