T O P I C R E V I E W |
johannes91131 |
Posted - 02/04/2014 : 06:17:20 AM Origin Ver. and Service Release (Select Help-->About Origin): Operating System:9 Hi There, I´m trying to write a script enabling me to plot three graphs into seperate layers from one active worbook. Also I was asked to think about a script helping to plot several graphs, all from different different workbooks in one single layer. Is there any easy way to express this in Lab Talk? thanks in advance Johannes |
1 L A T E S T R E P L I E S (Newest First) |
lkb0221 |
Posted - 02/04/2014 : 09:49:15 AM Hi, Johannes
To plot graphs into separate layers, the general way is to do it one by one (especially when your data does not share the same X and does not in the same worksheet). Or, you can plot a grouped plot to one single layer first and extract to different layers. Following is the example: // plotxy iy:=(1,2:4) plot:=200; // Plot col(2)~col(4) as a grouped line plot with col(1) as X layer -j; // Extract to separate layers layarrange row:=1 col:=1; // Arrange the layers //
For plotting several layers from different workbooks to one single layer, I think you have to use commands like "layer -i" or "worksheet -p" to add datasets to this layer one by one.
Zheng OriginLab |
|
|