It is a common practice in physics to put the "independent variable" on the x-axis, and the "dependent variable" on the y-axis.
For example, in a velocity-time graph (v-t graph), it is clear that the "time" is the independent variable because the velocity depends on the passage of time (but not vice versa). Hence, "time" is put on the x-axis and "velocity" on the y-axis.
In a plot of pressure against depth of water, say. The pressure depends on the depth of water, hence "depth" is expressed on the x-axis, whereas "pressure" is on the y-axis.