06-10-2010 07:29 AM
Hello!
We made experiments with Interfacial Shear Rheometer (ISR) and the results are the best in scatter graph view, but sometimes for the same x parameters we have more different Y values.
How can we make the average of one line, please?
See You !
Mr. Balazs
06-12-2010 03:43 PM
Hi Mr. Balazs,
You haven't really given me enough information to know the exact nature of your difficulty. If you have N pairs of XY cartesian points where X is the same for all of them, and you want them to be averaged together into just one XY pair with that X value, then you could try the Linear Regression function in the Curve Fitting palette of the ANALYSIS panel. If your problem is that you can't graph all the Y values because your X channel is shorter than your Y channel, then you need to reshape the X channel so that the repeated X value appears on the same row with each Y value that occurred for that X value and so that the X and Y channels each have the same number of values. If your curve is not linear, then you might also try a different curve fitting function such as a polynomial approximation or a spliine fit.
Brad Turpin
DIAdem Product Support Engineer
National Instruments
06-15-2010 06:07 AM
Hello,
Thank You for your answer!
But I think I did not explain completely my problem.
Well, our length of x-scale is the same as y-channel.
And we do not have only one x-value.
We have around 10 different x-values, and around 50different y-values. Each x-value contains around 5 different y-values. And thisis only one graph! The outlook of our graph with the spot /scatter/ shape canbe seen on the following:
How could weaverage these much points (many of them belonging to the same x-channel) into anice, linear/or polynomial/ one-line curve?
Thank you foryour answer!
Regards!
Balazs
06-16-2010 01:11 PM
Hello Krakk1,
You should be able to use the Regression function located under analysis then curve fitting. From there you can select your X channel and your Y channel that you wish to use to calculate the regression line. This will create a single regression line for all of your points. Let me know if this helps out and have a great day!
Best Regards,
Adam G