Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Charting / July 2006

Tip: Looking for answers? Try searching our database.

Dual x-axis chart

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
John Broderick - 21 Jul 2006 15:35 GMT
Lets say I want to plot some data (on a scatter chart) which is a function
of temperature. For convenience I would like to show two x-axes which gives
the correpsonding x-values in Fahrenheit and Celcius. So then I could chose
to plot(x_fahrenheit, y1) on x-axis1 or plot(x_celsius, y2) on x-axis2
(forgive the Matlab plot notation) and could choose whether to read off the
x-axis values in Fahrenheit or Celsius directly from the plot.
Can this be done in Excel (or Matlab). What if I needed 3 x-axes?

Thanks.
Del Cotter - 21 Jul 2006 20:18 GMT
>Lets say I want to plot some data (on a scatter chart) which is a function
>of temperature. For convenience I would like to show two x-axes which gives
[quoted text clipped - 3 lines]
>x-axis values in Fahrenheit or Celsius directly from the plot.
>Can this be done in Excel (or Matlab). What if I needed 3 x-axes?

Using the Excel-provided axes, you can get two, fairly easily, as long
as there is at least one set of data using each axis. In the "Format
Data Series" dialogue there is a tab called "Axis" which lets you choose
a primary or secondary axis.  You can create a dummy data range to do
nothing but provide the second axis if you like, just make it invisible
so it's not intruding on your chart.

To make three or more axes, you are out of luck as far as Excel's basic
abilities are concerned, but there are several web sites by Tushar
Mehta, Jon Peltier and the other Microsoft MVPs who post here regularly,
that show you how to use data ranges to make fake axes that look like
the real thing.

http://www.tushar-mehta.com/excel/newsgroups/flexible_log_scale/
http://peltiertech.com/Excel/Charts/axes.html

If you learn how to do that, you can have dozens of axes if you want
them.

Signature

Del Cotter
NB Personal replies to this post will send email to del@branta.demon.co.uk,
   which goes to a spam folder-- please send your email to del3 instead.

Tushar Mehta - 22 Jul 2006 02:58 GMT
As Dell pointed out, one can create 2 axes as long as there is at least one
series on each chart.

So, in your case, plot the data twice.  Double-click one of the plotted
series and in the resulting dialog box, from the Axis tab, select Secondary.  
Now, select Chart | Chart Options... | Axes tab and select the secondary x
axis.  Now, adjust the various axes so that the appropriate secondary and
primary axis min. and max. values line up.

Essentially, you would be adapting
Single Chart Dual Axis
http://www.tushar-mehta.com/excel/charts/0204-single%20graph%20dual%
20axis.htm

Signature

Regards,

Tushar Mehta
www.tushar-mehta.com
Excel, PowerPoint, and VBA add-ins, tutorials
Custom MS Office productivity solutions

> Lets say I want to plot some data (on a scatter chart) which is a function
> of temperature. For convenience I would like to show two x-axes which gives
[quoted text clipped - 5 lines]
>
> Thanks.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.