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 for Programming
 LabTalk Forum
 How to get the active worksheet name in Graph
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

Anow

Taiwan
Posts

Posted - 02/18/2006 :  10:32:03 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Version (Select Help-->About Origin): Pro7.5
Operating System: XP

I have plot the dataset in Graph. How can I get the worksheet name of this dataset in script windows¡H

Detailedly, activate the Graph windows, %C can return the name of the active dataset¡]Data1_B¡^, but I only want the name of the worksheet¡]Data1¡^.

Mike Buess

USA
3037 Posts

Posted - 02/19/2006 :  08:41:17 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
%W=%[%C,'_'];
%W=;
Data1

...Use %(n, @W) to get name of wks containing the nth dataset in active layer.

Mike Buess
Origin WebRing Member

Edited by - Mike Buess on 02/19/2006 09:26:14 AM
Go to Top of Page

Anow

Taiwan
Posts

Posted - 02/20/2006 :  9:13:17 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Very Thanks for Mike. It's useful and interesting.
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