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
 Forum for Origin C
 Lorentzian fit with multiple sheet

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
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

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