# How to swap graph axis' for large amounts of data?

#### MR09

##### New Member
Hi there,

I have done an experiment that measures the rate of a chemical reaction at different concentrations (as concentration increases so does the rate of reaction). The rate of reaction is measured by comparing time (milliseconds) with the opacity of the solution (the solution becomes cloudy as the reaction progresses and thus each concentration will reach a low opacity of 0 faster/slower depending on the concentration) - in reality the minimum opacity was closer to ~0.5 but you get the point.

The data was tabulated as follows:
 Time (ms) Trial 0.025mol Trial 0.05mol Trial 0.1mol Trial 0.2mol Trial 0.3mol 0​ 3.89​ 3.85​ 4.156667​ 4.123333​ 3.816667​ 500​ 3.886667​ 3.85​ 4.15​ 4.103333​ 3.776667​ 1000​ 3.886667​ 3.843333​ 4.136667​ 4.073333​ 3.733333​ 1500​ 3.886667​ 3.83​ 4.106667​ 4.043333​ 3.68​ ... ... ... ... ... ...
A scatter plot was created:

Since concentration is my independent variable and time is my dependent variable, time should be on the y axis. I am having difficulties on swapping the axis' of the scatter plot and was wondering if anyone has some suggestions. When I go to 'switch row/column' I get an error message "The max number of data series per chart is 255.

Ideally the new table would look like this:
 Time 0 500 1000 ... 500000 Opacity at 1st concentration ... Opacity at 5th concentration
Where time would be on the y axis and each concentration would be on the x axis.

Thanks

### Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)

#### Jon Peltier

##### MrExcel MVP
What are you trying to plot?

In your chart, Time is the independent variable, and Opacity is the dependent variable, so the X and Y axes are appropriate. Concentration is also an independent variable, but it isn't plotted on an axis, instead it is used to identify different time series.

1,147,474
Messages
5,741,341
Members
423,656
Latest member
Medrok2021

### We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.

### Which adblocker are you using?

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

### Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

### Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back