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
 All Forums
 Origin Forum for Programming
 LabTalk Forum
 maximum of 100 NLSF graphs?

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
Werner1 Posted - 05/14/2002 : 09:02:07 AM
hello there,

i am having difficulties with the nlsf fit system. i use the understanding code to fit exponential decays to parts of a very long graph.
my problem is that after a while, i reach the 99th fit and then the fitted curves are not displayed anymore on the graph. the fit itself does work.

has anyone any idea on how to expand the number of fitted graphs?


thanks!


nlsf.init();

getnumber (Peak1Begin:) pka1 (Peak1End:) pkb1 (Peak2Begin:) pka2 (Peak2End:) pkb2 (Peak3Begin:) pka3 (Peak3End:) pkb3 [Set Peak coordinates:];
getnumber (Peak4Begin:) pka4 (Peak4End:) pkb4 (Peak5Begin:) pka5 (Peak5End:) pkb5 (Peak6Begin:) pka6 (Peak6End:) pkb6 [Set Peak coordinates:];

//do following 6 times:

nlsf.begin();
nlsf.func$=ExpDec1;
nlsf.cleanupfitdata( ); //begin fitting session
nlsf.p3=5;
nlsf.fitdata$=%(1,@D); //fit first dataset in layer
nlsf.databegin=pka1;
nlsf.dataend=pkb1;
nlsf.tolerance=0; //set tolerance
nlsf.wtype=0;
limit %C;
nlsf.xBegin=limit.xmin; //set up x values
nlsf.xEnd=limit.xmax;
nlsf.xPoints=1000; //number of data points for fitted curve
nlsf.fit(1000);
nlsf.end();



2   L A T E S T    R E P L I E S    (Newest First)
Werner1 Posted - 05/22/2002 : 02:43:39 AM
thanks! but is it possible to change the store method to, lets say, 3 numbers aka with max at 999 ???

ciao


Laurie Posted - 05/16/2002 : 5:39:30 PM
This is a limitation in the method that generates the worksheets that store the NLSF data. These worksheets are named NLSF1, NLSF2, etc. all the way up to NLSF99. (These can be viewed in Project Explorer. View:Project Explorer) If you rename some of these worksheets to something other than 'NLSF', Origin will be able to generate more worksheets to hold the data for the fit and you will see fit curves beyond the 99th one.

This issue has been addressed in Origin 7 SR1; so is no longer a limitation.

Thank you.

OriginLab Technical Support

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000