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
 writing a code or a macro
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

morad85

Jordan
6 Posts

Posted - 02/09/2017 :  02:05:23 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Ver. and Service Release (Select Help-->About Origin):
Operating System:

Hello everybody,

I need to plot 20 graphs together, and then interpolate them, find the area under each one for several intervals (from 0 to 1, then 0 to 2, then 0 to 3, and etc.) and get the results in a table to plot them and do other calculations, and much more.
I did that manually, and it takes me a lot of time since I have huge data to analyze.

How can I do that using script, macros, or commands?
Is there a way to save my time?

Thanks and best regards,
Morad.

<font color="purple">Morad</font id="purple">

JacquelineHe

287 Posts

Posted - 02/09/2017 :  05:22:21 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Morad,

To plot graph and interploate, you try to use loop code by Origin Labtalk Script.
You can run the Labtalk Script in the "Script Window" (Windows:Script Window).

Guide:
http://www.originlab.com/doc/LabTalk/guide
Graphing:
http://www.originlab.com/doc/LabTalk/guide/Creating-Graphs
Interpolation
http://www.originlab.com/doc/LabTalk/guide/Interpolation
Loop:
http://www.originlab.com/doc/LabTalk/guide/Flow-of-Control

But more calculations, we need to know more detail about your data structure.

Additional, I am not sure whether the Batch Plotting or Batch Processing would help you more easily.
You can take a look at our webpage about it:
http://www.originlab.com/index.aspx?go=PRODUCTS/Origin#Batch_Processing

Thanks
Jacqueline
OriginLab




Go to Top of Page

morad85

Jordan
6 Posts

Posted - 02/09/2017 :  11:06:54 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
So many thanks,
I am going to thoroughly read the guides you attached and try to write a code.

Best regards,
Morad
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