Blue graph (on the left): a is the horizontal axis, b is the vertical axis.

Green graph (on the right: x is the horizontal axis, y is the vertical axis.