# Swap X and Y axes in Numbers?

I'm taking an economics course, and for whatever reason economists create graphs with the independent variable (price) on the Y axis and not the X axis. If I only have 1 dependent variable to graph, it's pretty easy just to swap the two, but I need to create a graph with price as the independent variable on the Y axis with multiple dependent variables on the X axis. Is this possible in Numbers?

• Can you be a little bit more specific? I’m not an Economics expert :) Dec 1, 2010 at 20:00
• @Martín Typically when you graph something you'd put your independent variable, or the thing that changes, on the X axis, and the result of that change to the other variable, the dependent variable, on the Y axis. For example, if you wanted to graph population vs time, you'd put time on the X axis and population on the Y axis. Economists, unfortunately, have swapped this around and put price on the Y axis and the effect of that price on the X axis, but I can't find a way for Numbers to graph it that way. Dec 1, 2010 at 22:18
• thanks for the info :) Now… back to your graphic, you’d want to have the price be on the Y and the “four columns” on the X? Dec 2, 2010 at 1:17
• @Martín yes, exactly Dec 2, 2010 at 1:26
• In Numbers version 10 you can use `Table > Transpose Rows and Columns` Feb 26, 2021 at 21:51

I’ve noticed a button you don’t have. What version of Numbers do you have? (I have 09)

Look at this:

That swaps the columns in the graph (exactly like you describe). I’m not really very good at Numbers.

Do you have that? One thing I’ve done, is used the price as a “column” but maybe that’s why you don’t have it?

My graphic looks awesome (sarcasm)…