When we are plotting something, does the y axis go first or the x axis?

the x axis is horizontal, the y axis is vertical

Oh okay thank you

When plotting something on a graph, the convention is to represent the y-axis (vertical axis) first and then the x-axis (horizontal axis). This is commonly referred to as the "y-axis first" convention.

To understand why this convention is followed, consider that the y-axis typically represents the dependent variable (the variable being measured, observed, or controlled) in a graph. It is often associated with the vertical dimension or height. On the other hand, the x-axis represents the independent variable (the variable that is changed or manipulated) and is commonly associated with the horizontal dimension or width.

Following the y-axis first convention helps to establish a consistent pattern for representing data on a graph and facilitates easier interpretation and understanding of the plotted information.