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
 curve subtraction script

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
RSiertsema Posted - 04/22/2014 : 05:17:18 AM
Origin Ver. and Service Release (Select Help-->About Origin): Origin 8.5.1 SR2
Operating System: Windows 7 Prof.

Hello forum!

I have a small data manipulation issue.

I have a bunch of curves, with different dx. I need to automate the subtraction of a few of these curves with script.
Normally, when doing it by hand, this is very easy by doing it the graphic way (Analyis -> mathematics -> simple curve math -> substract <reference>), but via labtalk it seems to be a bit more difficult (e.a. the colums need to have the same x-increments before subtraction or some other way of normalisation)

Can you give me a hand in solving this problem?
Thanks in advance!

With kind regards,


Reinier.
2   L A T E S T    R E P L I E S    (Newest First)
RSiertsema Posted - 04/23/2014 : 11:32:31 AM
thank you very much!

This helped a lot.
lkb0221 Posted - 04/22/2014 : 10:35:35 AM
Hi,

With Script Window open, when you are at mathtool dialog (Analyis -> mathematics -> simple curve math), you can click the right triangle button at the upper-right corner and select Generate Script.
This will give you the LT command of exactly what you have set in that dialog. And you can look at relative documents to learn more about it, for example:
http://www.originlab.com/doc/X-Function/ref/mathtool

Zheng
OriginLab

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