Vertical Shifts. To shift such a graph vertically, one needs only to change the function to f (x) = sin(x) + c, where c is some constant. Thus the $y$-coordinate of the graph, which was previously sin(x) , is now sin(x) + 2. All values of y shift by two. The graph of y = f (x) = sin(x) + 2 looks like this: