Functions For Correlated Non-Monotonically Increasing Data
Posted: Fri Jan 30, 2004 3:01 pm
David,
I wanted to take the difference between two loosely circular enclosed Polar Chart regions ("curves") generated from discrete data points (linked from an Excel Spreadsheet). I got the following error:
[my comment in brackets]
"Any Y [magnitude] terms used in the equation must represent curves with monotonically increasing X [angle] values. Curve 1 cannot be used as is."
I initially thought this was a glitch in Polar Charts until I tried the Subtract function on a couple of circles generated by DPlot (Y= Radius*(Sin(x)^2+Cos(x)^2) for X=0 to 6.29) in which it worked -- But then again, in this case the X [angle] value IS increasing as required.
In my linked data, the points are also "going around" in a circular fashion, but they don't start right a 0 degrees. Is it that I need to re-order my data Angle/Magnitude pairs to start at the smallest 1st quadrant angle in my data set and increase from there? (My current data starts "wherever" (maybe 47 degrees) and comes back around to about the same angle.
This would be somewhat inconvenient to do -- more clutter in my spreadsheet.
I understand the limitation because certain functions can have (2) or more Y values may be at a given X value, so there would be the issue of "which Y value" to use in a subtraction. However, in my example, there is no such ambiguity because data points in one curve correlate to data points in another. Would it be too difficult to make a special Subtract function for discrete data where such correlation exists?
For that matter, it would be nice to have such "Correlated Discrete Data" versions of any other function which have the same limitation.
Ray D.
I wanted to take the difference between two loosely circular enclosed Polar Chart regions ("curves") generated from discrete data points (linked from an Excel Spreadsheet). I got the following error:
[my comment in brackets]
"Any Y [magnitude] terms used in the equation must represent curves with monotonically increasing X [angle] values. Curve 1 cannot be used as is."
I initially thought this was a glitch in Polar Charts until I tried the Subtract function on a couple of circles generated by DPlot (Y= Radius*(Sin(x)^2+Cos(x)^2) for X=0 to 6.29) in which it worked -- But then again, in this case the X [angle] value IS increasing as required.
In my linked data, the points are also "going around" in a circular fashion, but they don't start right a 0 degrees. Is it that I need to re-order my data Angle/Magnitude pairs to start at the smallest 1st quadrant angle in my data set and increase from there? (My current data starts "wherever" (maybe 47 degrees) and comes back around to about the same angle.
This would be somewhat inconvenient to do -- more clutter in my spreadsheet.
I understand the limitation because certain functions can have (2) or more Y values may be at a given X value, so there would be the issue of "which Y value" to use in a subtraction. However, in my example, there is no such ambiguity because data points in one curve correlate to data points in another. Would it be too difficult to make a special Subtract function for discrete data where such correlation exists?
For that matter, it would be nice to have such "Correlated Discrete Data" versions of any other function which have the same limitation.
Ray D.