How to determine which represents a function on a graph

generally the vertical axis represents the function of the value on the horizontal axis.

I suspect there is more you want to ask. Remember that google is your friend.