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
 Graph title from wksht 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
YiDog21 Posted - 10/25/2005 : 4:24:52 PM
Origin Version (Select Help-->About Origin): 6.0
Operating System: XP

Is there a way of using the name given to a graph i.e. A200510201 ; where 20051020 is the date of the experiment and 1 the trial number, and set that value for the title of a graph looking something like 20051020-1 without the A and a dash in between the date and trial number by using a script created through labtalk?
2   L A T E S T    R E P L I E S    (Newest First)
YiDog21 Posted - 10/25/2005 : 5:48:24 PM
actually, i realized i did not try to use the label command, so after doing page.label$=%[%w,2:%[%w]-1]-%[%w,>%[%w]]; and then using
label -s "%[%w,2:%[%w]-1]-%[%w,>%[%w]]";, it worked just fine... Thank you once again Mike.

Edited by - YiDog21 on 10/25/2005 6:29:23 PM
Mike Buess Posted - 10/25/2005 : 5:01:54 PM
I think this produces the page label you want...

page.label$=%[%H,2:%[%H]-1]-%[%H,>%[%H]];

Mike Buess
Origin WebRing Member

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