topic How to graph with missing data? in LabVIEW
https://forums.ni.com/t5/LabVIEW/How-to-graph-with-missing-data/m-p/2496#M1894
Okay, this is a relativly simple question but I can't figure out an<BR />alorithm.<BR /><BR />Suppose I have a function y = x^2 and an array of "X" values [1 2 3 4<BR />10]. I would get an array of "Y" values of [1 4 9 16 100]. Now, how<BR />can I graph this if I don't have data for x=5-9? The graph will assume<BR />X values of 1-5.<BR /><BR />Of course, in my real problem there is no function. I have sampled a<BR />lot of data at low X-values and a little at the middle values, and a lot<BR />of the high X-values. I need to interpolate the data, but the<BR />interpolate fucntion is not what I'm looking for (it assumes you have<BR />uniform X-values)<BR /><BR />Thank you for your help.<BR /> <BR />Rick<BR />rick@csciences.com<BR /><BR />Chesapeake Sciences Corp.<BR />1127B Benfield Blvd Millersville, MD 21108<BR /><BR />Te<BR />l: (410) 923-1300 x3430 Fax: (410) 923-2669 <BR />Thu, 18 Nov 1999 14:36:12 GMTRick Nelson1999-11-18T14:36:12ZHow to graph with missing data?
https://forums.ni.com/t5/LabVIEW/How-to-graph-with-missing-data/m-p/2496#M1894
Okay, this is a relativly simple question but I can't figure out an<BR />alorithm.<BR /><BR />Suppose I have a function y = x^2 and an array of "X" values [1 2 3 4<BR />10]. I would get an array of "Y" values of [1 4 9 16 100]. Now, how<BR />can I graph this if I don't have data for x=5-9? The graph will assume<BR />X values of 1-5.<BR /><BR />Of course, in my real problem there is no function. I have sampled a<BR />lot of data at low X-values and a little at the middle values, and a lot<BR />of the high X-values. I need to interpolate the data, but the<BR />interpolate fucntion is not what I'm looking for (it assumes you have<BR />uniform X-values)<BR /><BR />Thank you for your help.<BR /> <BR />Rick<BR />rick@csciences.com<BR /><BR />Chesapeake Sciences Corp.<BR />1127B Benfield Blvd Millersville, MD 21108<BR /><BR />Te<BR />l: (410) 923-1300 x3430 Fax: (410) 923-2669 <BR />Thu, 18 Nov 1999 14:36:12 GMThttps://forums.ni.com/t5/LabVIEW/How-to-graph-with-missing-data/m-p/2496#M1894Rick Nelson1999-11-18T14:36:12ZRe: How to graph with missing data?
https://forums.ni.com/t5/LabVIEW/How-to-graph-with-missing-data/m-p/2497#M1895
I'm such an idiot.<BR /><BR />I eventually wrote a VI to do what I wanted (thanks to Mr. Ahlers for a<BR />VI that showed me how to use the Ramp function). <BR /><BR />It turns out it does the exact same thing as an XY Graph. I never knew<BR />that there was such a beast, I have always used the standard charts and<BR />graphs. Oh well, I guess it was a learning experience.<BR /><BR />Rick <BR />Fri, 19 Nov 1999 20:25:29 GMThttps://forums.ni.com/t5/LabVIEW/How-to-graph-with-missing-data/m-p/2497#M1895Rick Nelson1999-11-19T20:25:29ZRe: How to graph with missing data?
https://forums.ni.com/t5/LabVIEW/How-to-graph-with-missing-data/m-p/2498#M1896
If I understand what you're asking, you a XY graph simply plots whatever<BR />data values are present. They don't have to be in any particular order or<BR />spacing. The plot simply displays the data in the order they appear in the<BR />input data. Alternately, an any plot a Y value of NaN is not displayed but<BR />the space for the point is held on the x axis.<BR /><BR />Mike...<BR /><BR />Rick Nelson wrote:<BR /><BR />> Okay, this is a relativly simple question but I can't figure out an<BR />> alorithm.<BR />><BR />> Suppose I have a function y = x^2 and an array of "X" values [1 2 3 4<BR />> 10]. I would get an array of "Y" values of [1 4 9 16 100]. Now, how<BR />> can I graph this if I don't have data for x=5-9? The graph will assume<BR />> X values of 1-5.<BR />><BR />> Of course, in my real problem there is no function. I have sampled a<BR />> lot o<BR />f data at low X-values and a little at the middle values, and a lot<BR />> of the high X-values. I need to interpolate the data, but the<BR />> interpolate fucntion is not what I'm looking for (it assumes you have<BR />> uniform X-values)<BR />><BR />> Thank you for your help.<BR />><BR />> Rick<BR />> rick@csciences.com<BR />><BR />> Chesapeake Sciences Corp.<BR />> 1127B Benfield Blvd Millersville, MD 21108<BR />><BR />> Tel: (410) 923-1300 x3430 Fax: (410) 923-2669 <BR />Tue, 23 Nov 1999 19:06:07 GMThttps://forums.ni.com/t5/LabVIEW/How-to-graph-with-missing-data/m-p/2498#M1896Michael Porter1999-11-23T19:06:07Z