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
 Origin Forum
 how can i differentiate many curves at once?

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
kurt_taret1 Posted - 09/05/2001 : 04:31:52 AM
Well, I just wan't to know if I have to get involved with LabTalk to do such a simple operation...

Any help appreciated!

Kurt
1   L A T E S T    R E P L I E S    (Newest First)
scottp Posted - 09/05/2001 : 2:04:38 PM
This simple LabTalk routine will do what you want.
=============Copy start here================

%M=%H;
doc -e DY {
run.section(GRANALY,Diff);
win -a %m;
}

win -a deriv;

==============Copy End Here ==============
You will want to copy this into the Origin Script window. You can also place it in a button. See LabTalk version 6 Manual pages 8-10 on how to create a button, as well as other options to automate the running of this script.

Expanation of the commands:
We save %H as %M. This takes the window name which is contained in the variable %H and places it in the variable named %M.
This is to ensure the focus of the next command will work only upon the appropriate graph window (The Graph window containing the original data).

doc -e DY {
run.section(GRANALY,Diff);

doc -e DY will execute the code in the () for all datasets in the active graph window layer.

win -a deriv;
This will activate and move the resulting graph window called derive to the foreground and rescale the data to fill the graph window.

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