T O P I C R E V I E W |
odai85 |
Posted - 12/25/2018 : 12:52:38 AM Hello everybody,
How can I do an integration (area under a curve) of many curves for a specific interval (0 to 1, 0 to 2, and 0 to 3) in the same graph, and saving the results in one table? The graph is attached.
NB: The data are available in one workbook and different worksheets and I have individual CSV file for each curve if needed.
Thanks in advance.
Odai
Odai |
4 L A T E S T R E P L I E S (Newest First) |
odai85 |
Posted - 12/27/2018 : 03:45:21 AM Hi yuki,
Thank you so much. Yes, I need to do it using the script commands. I will try to do it using the provided links
Best regards,
Odai |
yuki_wu |
Posted - 12/27/2018 : 01:18:47 AM Hi Odai,
I am sorry that I cannot understand your question. The method I mentioned above can output the result for all curves in the graph. Not sure if you want to do that via scripts.
If yes, you might want to know more about the X-Function and how to loop over each curve: https://www.originlab.com/doc/X-Function/ref/Integ1
https://www.originlab.com/doc/LabTalk/guide/Looping-Over-objs#Looping_Over_Graphic_Objects
Regards, Yuki
OriginLab
|
odai85 |
Posted - 12/27/2018 : 12:30:33 AM Hi yuki, Thank you for your answer.
Actually, I know this method, however, I have many curves which means I need more than a week to get my results!
Do you know how to do it automatically?
Best regards,
Odai |
yuki_wu |
Posted - 12/25/2018 : 04:11:01 AM Hi Odai,
You could use Integrate Gadget to do that: 1. Active the graph and select Gadgets: Integrate 2. Click the triangle button to select Preference 3. Specify the range in ROI box tab 4. Check Output: Output Quantities to: Append to Worksheet checkbox and specify the output sheet 5. Click OK button 6. Click the triangle button to select New Output for All Curves
More info, please have a look at this page: https://www.originlab.com/doc/Origin-Help/Gadget-Integration
Regards, Yuki
OriginLab
|
|
|