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 for Programming
 Forum for Origin C
 Fittin in Origin C
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

Blackbird

Germany
Posts

Posted - 10/19/2005 :  4:15:56 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin 7.0G (Select Help-->About Origin):
Operating System: WinXp

Hello,

i have a problem to understand how i use the fitting functions under origin c.

I have a some curves in a graphik window an its data in a worksheet. Now i want to make an exponential fit over all of this curves. I could not understand the whole system how i can do this. With labtalk i could make one fit for one curve but not with origin C and not with more then one Curve.

the code for the plotting of the curves is:

for (i=0; i < 10; i++)
{
Curve crvData(wksData,value[i]);
int nPlot = grphLayer.AddPlot(crvData,IDM_PLOT_LINE);
}

I hope you can understand what my problem is :(... sry for my bad english...

Many Thanx

Matthias Vierling

Mike Buess

USA
3037 Posts

Posted - 10/20/2005 :  07:34:16 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Use the free Multifit tool on the FileExchange to fit multiple curves in the same worksheet...

http://www.originlab.com/fileexchange/details.aspx?fid=56

If you still want to write your own routines you can refer to Multifit.c for tips on using NLSF in Origin C.

Mike Buess
Origin WebRing Member
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