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