ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Charts and Charting in Excel (https://www.excelbanter.com/charts-charting-excel/)
-   -   two x axes with one y axis, different data on x (https://www.excelbanter.com/charts-charting-excel/73375-two-x-axes-one-y-axis-different-data-x.html)

Kris@Cooper

two x axes with one y axis, different data on x
 
I need to have two x-axis with two different types of data (ex: oxygen and
temp, one on top, one on the bottom) with one y-axis (depth, on the left).
The same basic concept as having 2 y-axes but with the x-axes.

Jon Peltier

two x axes with one y axis, different data on x
 
Make your XY chart with both sets of data. Double click one series, and on
the Axis tab, select Secondary. Excel helpfully gives you a secondary Y
axis, but only the primary X axis. Select Chart Options from the Chart menu,
and on the Axes tab, uncheck the secondary Y box, and check the secondary X
box.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services
Tutorials and Custom Solutions
http://PeltierTech.com/
_______

"Kris@Cooper" wrote in message
...
I need to have two x-axis with two different types of data (ex: oxygen and
temp, one on top, one on the bottom) with one y-axis (depth, on the left).
The same basic concept as having 2 y-axes but with the x-axes.




Kris@Cooper

two x axes with one y axis, different data on x
 
Thanks, i also found the xy switch add-on which moved my depth data to the
y-axis and then everything was fixed when i did what you suggested below.

Thanks

"Jon Peltier" wrote:

Make your XY chart with both sets of data. Double click one series, and on
the Axis tab, select Secondary. Excel helpfully gives you a secondary Y
axis, but only the primary X axis. Select Chart Options from the Chart menu,
and on the Axes tab, uncheck the secondary Y box, and check the secondary X
box.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services
Tutorials and Custom Solutions
http://PeltierTech.com/
_______

"Kris@Cooper" wrote in message
...
I need to have two x-axis with two different types of data (ex: oxygen and
temp, one on top, one on the bottom) with one y-axis (depth, on the left).
The same basic concept as having 2 y-axes but with the x-axes.






All times are GMT +1. The time now is 10:31 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com