The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum
 Origin Forum
 Area under a curve
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

l203

USA
Posts

Posted - 06/27/2006 :  09:59:47 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Version (Select Help-->About Origin): origin 7.5 (demo)
Operating System:XP

I was wondering if there is a way to get origin to tell you the area under each of a group of curves that I fit to some data?

Thanks,
Eric

larry_lan

China
Posts

Posted - 06/28/2006 :  12:15:11 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Eric:

You can right click the fitted curve and chose "Go To xxx" to active the hidden fitted curve data worksheet. And then plot a curve by the fitted data, active the graph, click Analysis-->Calculus-->Integrate from the menu, then you can see the area from the result log.

If you dont want to generate a new fitted curve plot, you can do these by Labtalk scripts. Supposed the fitted curve worksheet named 'PolyFit1', and the second column is Y column, type the following script in the command window:

integ PolyFit1_B;
integ.area=;

to get the area.

If there are lots of curves, just included the script in a loop, like:

win -a wksname;
for(ii=2; ii<=10; ii++)
{
integ Col($(ii));
integ.area=;
}

Hope it helps

Larry
OriginLab GZ Office
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000