T O P I C R E V I E W |
Bigprophete |
Posted - 03/30/2015 : 12:34:47 AM hello, I have a folder with a lot of sheet (50 with two column X and Y). I would like if it is possible with Origin C to do a program which realize Lorentzian fit for each sheet ??
Thank you very much |
3 L A T E S T R E P L I E S (Newest First) |
SeanMao |
Posted - 03/31/2015 : 04:23:19 AM Hi,
In the link below is the argument syntax you are looking for:
http://www.originlab.com/doc/OriginC/guide/Collections
There is an example in this post about using foreach looping to loop through all worksheets in current active folder and using data in each worksheet to make a plot.
http://www.originlab.com/forum/topic.asp?TOPIC_ID=20405
See whether it helps.
Regards!
Sean
OriginLab Tech. Service
|
Bigprophete |
Posted - 03/30/2015 : 05:22:19 AM Thank you very much,
I am looking the command "foreach", but I don't see how it's work...
foreach( WorksheetPage wksPage in Project.WorksheetPages ) { out_str(wksPage.GetName()); }
Is it possible to have a small example ? What I need to put in --> foreach( --> WorksheetPage wksPage in Project.WorksheetPages )
Sincerely, |
Echo_Chu |
Posted - 03/30/2015 : 04:29:32 AM Hi,
Please look at the page below for some examples to perform nonlinear curve fitting with Origin C
http://www.originlab.com/doc/OriginC/guide/Non-linear-Fitting
And here is a page for example to loop through all workbook in project
http://www.originlab.com/doc/OriginC/guide/Accessing-Pages#Using_foreachforeach_StatementProject.2C_Loop_the_Existing_Windows
Echo OriginLab |