Introduction to Graphs of Functions When both the input (independent variable) and output (dependent variable) are real numbers, a function can be represented by a coordinate graph. The input is plotted on the horizontal x-axis, and the output is plotted on the vertical y-axis.