How to Graph Sine and Cosine Functions: 15 Steps (with Pictures) - wikiHow For a sine or cosine graph, simply go from 0 to 2π on the x-axis, and -1 to 1 on the y-axis, intersecting at the origin (0, 0) Both y = sin ( x ) {\displaystyle y=\sin(x)} and y = cos ( x ) {\displaystyle y=\cos(x)} repeat the same shape from negative infinity to positive infinity on the x-axis (you'll generally only graph a portion