How to Draw a Graph. 1  1. Draw the x axis. Make a horizontal line on the paper. 2  2. Draw the y axis. Make a vertical line that passes through the origin of the x axis. 3  3. Calculate the values of y for several values of x. We will be drawing a graph using the function f(x) = 2x.  4. Mark the ordered pairs on the graph.