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
 how can i differentiate many curves at once?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

kurt_taret1

Germany
1 Posts

Posted - 09/05/2001 :  04:31:52 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
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

scottp

USA
60 Posts

Posted - 09/05/2001 :  2:04:38 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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.
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