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
 Change the graph name to the worksheet name

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
patricks1 Posted - 11/13/2012 : 07:55:31 AM
Origin Ver. and Service Release (Select Help-->About Origin): 9.0.0 Pro
Operating System:64bit
Hello
I have a probably stupid question but I can't find a quick solution myself.
What I want to do:
For quality controll I have data sets from a press. This data sets are imported and have a name according to the test sample: e.g. XXX_QA-W_01012012. I do some changes in the dataset and then I draw a graph with a template and design. But the graph is always named: graph1, graph2..... is there a way to name the graph according to the worksheet? E.g. GR_W_01012012

Or do I have to do it by a macro?
Regards and thanks for your help
Patrick
2   L A T E S T    R E P L I E S    (Newest First)
patricks1 Posted - 11/15/2012 : 08:59:36 AM
Works great, thanks a lot
greg Posted - 11/13/2012 : 10:39:54 AM
Assuming any plots come from the same worksheet, then this should do it:

page.label$=%(1Y,@WS);

With the graph active, copy and paste the above line to the Command Window and press Enter.

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