Shift the graph of a function along the x-axis. The graph of a function f(x-a) obtain shift the graph f(x) right "a" units. The graph of a function f(x+a) obtain shift the graph f(x) left "a" units. Examples. Shift the graph of a function along the y-axis. The graph of a function f(x)+b obtain shift the graph f(x) up "b" units. The graph of a function f(x)-b obtain shift the graph f(x) down "b" units. Examples.