Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 1
Default Summing graphs without differnt independent variables

Hey all,

I am having a very inconvinient problem, which seems to potentially ruin
several weeks of hard work -- and it would be immensly appreciated if anyone
could come up with a quicly implementable solution.

OK, the data I am trying to present is power demand for trains on a distance
of rail over time. In the data I have, power demand is measured at every 250
metres for each train. This means taht my data is like this.

m T1 T2 . . .
0 1500 5462 . . .
250 1700 1654 . . .
500 1200 6542 . . .
750 4000 1224 . . .
1000 3100 5555 . . .
..
..
..

Where at each cell (each 250 m) I know the power demand. Additionally, I
know at what time the trains passed each 250-metre point.

Therefore, with graph with a X-Y Scatter Chart, I can graph Power as a
function of time even though time is not an independent variable.

However, I have problems graphing the aggregate power demand as a function
of time.

Is there anyway I can sum alle the graphs in one chart, or anything similar?
Thanks in advance
  #2   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 6,582
Default Summing graphs without differnt independent variables

You want to sum demand at each time? you need to have a value at each time
for each series. This means you need to somehow interpolate all curves to a
standard set of time points, then add these interpolated values.

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


"Sebastian Stormbo" <Sebastian wrote in
message ...
Hey all,

I am having a very inconvinient problem, which seems to potentially ruin
several weeks of hard work -- and it would be immensly appreciated if
anyone
could come up with a quicly implementable solution.

OK, the data I am trying to present is power demand for trains on a
distance
of rail over time. In the data I have, power demand is measured at every
250
metres for each train. This means taht my data is like this.

m T1 T2 . . .
0 1500 5462 . . .
250 1700 1654 . . .
500 1200 6542 . . .
750 4000 1224 . . .
1000 3100 5555 . . .
.
.
.

Where at each cell (each 250 m) I know the power demand. Additionally, I
know at what time the trains passed each 250-metre point.

Therefore, with graph with a X-Y Scatter Chart, I can graph Power as a
function of time even though time is not an independent variable.

However, I have problems graphing the aggregate power demand as a function
of time.

Is there anyway I can sum alle the graphs in one chart, or anything
similar?
Thanks in advance



  #3   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 5
Default Summing graphs without differnt independent variables

Thanks Jon!

Yeah, this was what I figured. But this will make the results a lot less
exact, because the curve is -- and thus the parts of the curve between each
point are -- not linear.

Is there no way Excel can interpolate directly from the chart, and hence
expand the data to contain a value for every point of time?


"Jon Peltier" wrote:

You want to sum demand at each time? you need to have a value at each time
for each series. This means you need to somehow interpolate all curves to a
standard set of time points, then add these interpolated values.

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


"Sebastian Stormbo" <Sebastian wrote in
message ...
Hey all,

I am having a very inconvinient problem, which seems to potentially ruin
several weeks of hard work -- and it would be immensly appreciated if
anyone
could come up with a quicly implementable solution.

OK, the data I am trying to present is power demand for trains on a
distance
of rail over time. In the data I have, power demand is measured at every
250
metres for each train. This means taht my data is like this.

m T1 T2 . . .
0 1500 5462 . . .
250 1700 1654 . . .
500 1200 6542 . . .
750 4000 1224 . . .
1000 3100 5555 . . .
.
.
.

Where at each cell (each 250 m) I know the power demand. Additionally, I
know at what time the trains passed each 250-metre point.

Therefore, with graph with a X-Y Scatter Chart, I can graph Power as a
function of time even though time is not an independent variable.

However, I have problems graphing the aggregate power demand as a function
of time.

Is there anyway I can sum alle the graphs in one chart, or anything
similar?
Thanks in advance




  #4   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 5
Default Summing graphs without differnt independent variables

Interpolation is a non-trivial area, see
http://en.wikipedia.org/wiki/Interpolate

You ask Excel to interpolate between values, but say linear interpolation is
inappropriate without indicating what form of interpolation might be OK.

I think your choices a

a) use linear interpolation and hope it's close enough; depends on the form
of the relationship and the spacing of the points; perhaps transform your
data so the relationship is more like linear, try log(Power)?.

b) fit a curvilinear regression model ; if you know the (approximate) form
of the relationship and can fit it, see LINEST, GROWTH, LOGEST, TREND

c) learn a bit more about interpolation; I don't think Excel has many (any?)
means of interpolation built-in in an easy to use form

But I'm not an Excel expert, just a lurking statistician.

HTH

A Lurker

"Sebastian Stormbo" wrote in
message ...
Thanks Jon!

Yeah, this was what I figured. But this will make the results a lot less
exact, because the curve is -- and thus the parts of the curve between
each
point are -- not linear.

Is there no way Excel can interpolate directly from the chart, and hence
expand the data to contain a value for every point of time?


"Jon Peltier" wrote:

You want to sum demand at each time? you need to have a value at each
time
for each series. This means you need to somehow interpolate all curves to
a
standard set of time points, then add these interpolated values.

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


"Sebastian Stormbo" <Sebastian wrote
in
message ...
Hey all,

I am having a very inconvinient problem, which seems to potentially
ruin
several weeks of hard work -- and it would be immensly appreciated if
anyone
could come up with a quicly implementable solution.

OK, the data I am trying to present is power demand for trains on a
distance
of rail over time. In the data I have, power demand is measured at
every
250
metres for each train. This means taht my data is like this.

m T1 T2 . . .
0 1500 5462 . . .
250 1700 1654 . . .
500 1200 6542 . . .
750 4000 1224 . . .
1000 3100 5555 . . .
.
.
.

Where at each cell (each 250 m) I know the power demand. Additionally,
I
know at what time the trains passed each 250-metre point.

Therefore, with graph with a X-Y Scatter Chart, I can graph Power as a
function of time even though time is not an independent variable.

However, I have problems graphing the aggregate power demand as a
function
of time.

Is there anyway I can sum alle the graphs in one chart, or anything
similar?
Thanks in advance






  #5   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 6,582
Default Summing graphs without differnt independent variables

I would not pretend that the smoothed line option of a series formatting
produces accurate values between actual points. You certainly don't want a
software package to make assumptions about your data in any case. You could
try to fit a polynomial (please limit the degree you use, no more than
second order) or another relationship which is physically meaningful to your
model.

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


"Sebastian Stormbo" wrote in
message ...
Thanks Jon!

Yeah, this was what I figured. But this will make the results a lot less
exact, because the curve is -- and thus the parts of the curve between
each
point are -- not linear.

Is there no way Excel can interpolate directly from the chart, and hence
expand the data to contain a value for every point of time?


"Jon Peltier" wrote:

You want to sum demand at each time? you need to have a value at each
time
for each series. This means you need to somehow interpolate all curves to
a
standard set of time points, then add these interpolated values.

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


"Sebastian Stormbo" <Sebastian wrote
in
message ...
Hey all,

I am having a very inconvinient problem, which seems to potentially
ruin
several weeks of hard work -- and it would be immensly appreciated if
anyone
could come up with a quicly implementable solution.

OK, the data I am trying to present is power demand for trains on a
distance
of rail over time. In the data I have, power demand is measured at
every
250
metres for each train. This means taht my data is like this.

m T1 T2 . . .
0 1500 5462 . . .
250 1700 1654 . . .
500 1200 6542 . . .
750 4000 1224 . . .
1000 3100 5555 . . .
.
.
.

Where at each cell (each 250 m) I know the power demand. Additionally,
I
know at what time the trains passed each 250-metre point.

Therefore, with graph with a X-Y Scatter Chart, I can graph Power as a
function of time even though time is not an independent variable.

However, I have problems graphing the aggregate power demand as a
function
of time.

Is there anyway I can sum alle the graphs in one chart, or anything
similar?
Thanks in advance








  #6   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 560
Default Summing graphs without differnt independent variables

On Fri, 18 Jul 2008, in microsoft.public.excel.charting,
Sebastian Stormbo said:
Yeah, this was what I figured. But this will make the results a lot less
exact, because the curve is -- and thus the parts of the curve between each
point are -- not linear.

Is there no way Excel can interpolate directly from the chart, and hence
expand the data to contain a value for every point of time?


Why should charts be any better at knowing where the curves go than
spreadsheet cells? Computing is computing.

--
Del Cotter
NB Personal replies to this post will send email to ,
which goes to a spam folder-- please send your email to del3 instead.
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
charting independent XYScatter graphs mb Charts and Charting in Excel 5 May 27th 08 08:52 PM
2-4 stacked bar graphs, two variables each, Y's vary same chart Writer on Path Charts and Charting in Excel 1 October 22nd 07 08:11 PM
how to look up values with two independent variables charlesfung Excel Worksheet Functions 4 June 17th 06 03:32 PM
Variables and graphs teepee Excel Discussion (Misc queries) 7 January 2nd 06 11:47 PM
summing cells with variables jeff Excel Discussion (Misc queries) 5 March 3rd 05 07:25 PM


All times are GMT +1. The time now is 07:59 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"