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
 Layer

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
lucio_marianna Posted - 01/19/2006 : 09:51:42 AM
Origin Version (Select Help-->About Origin): 7.5
Operating System: XP

Hi,

I would like to know how to retrieve the dataset from the layer, and copy it in a new one.

Thanks in advance
2   L A T E S T    R E P L I E S    (Newest First)
lucio_marianna Posted - 01/20/2006 : 04:34:25 AM
Thanks Mike, exactly what I was looking for!



Marianna
Mike Buess Posted - 01/19/2006 : 10:39:09 AM
Use %(n, @D) to get the name of the nth dataset in the active layer...

n = 2;
%A = %(n, @D); // get name of 2nd dataset in layer
%A=;
Data1_C

Once you know the dataset's name you can add it to another layer in the same graph window like this...

page.active = layerNumber; // activate layer
lay -i %A;

The string variable %C always holds the name of the active dataset checked at the bottom of the Data menu.

Mike Buess
Origin WebRing Member

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