In graphing, the z axis is used to represent the third dimension.