Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations GregLocock on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Plotting Multiple Sets of Values Having Different X Axes in Excel

Status
Not open for further replies.

ModManSEK

Aerospace
Nov 20, 2000
21
Does anyone know how to plot multiple sets of data in Excel that have different X axes. I have data versus time from flight measurements as well as predictions from a simulation code and I want to present them on the same plot. The problem is that the X axes (sample rate for flight data and print interval for code) are different. Any suggestions? Changing the code's print interval to match the measurements would be time-consuming as I'm dealing with a couple of thousand seconds of flight time. Thanks.
 
Replies continue below

Recommended for you

Plot it using X-Y Scatter plots. Then you plot mutlitple sets of data on the same graph with totally unrelated axes.
 
To finish Melone's thought:

1) Put all your x-values for data in a single column.(ie. Data set 1 followed by data set 2,..etc.)
2) Create a seperate columns for each data set's y-values.
3) Fill the y-values in data set 1 with zero's in data set 2, 3 ...etc. (y-values for data set 2 get zero's oposite data set 1, data set 3...etc)
4) Now plot x-y scatter charts using the entire columns for each graph line. You will find excel will now chart exactly what you are after.

Hope you can decipher my example....[worm]

Remember...
"If you don't use your head,
your going to have to use your feet."
 
Thanks Melone and Meintsi for responding. Actually, after fiddling around with Excel some more, I was able to get it to do what I wanted. The solution was to first plot one set of data using the X-Y Scatter option, and then manually add the other data sets by going into the 'Source Data' option (right-clicking inside the plot). It allows you to add new x- and y-values that are different from the existing values. Thanks again for all your help!
 
Forgot about that subtle change.

It wasn't too many releases ago that at least one set of values had to remain constant. That's how i'd do it now, but looking at your question brought back some of the major headaches I encountered when i started using Excel.



Remember...
"If you don't use your head,
your going to have to use your feet."
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor