Author |
Topic  |
|
YiDog21
USA
Posts |
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? |
|
Mike Buess
USA
3037 Posts |
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 |
 |
|
YiDog21
USA
Posts |
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 |
 |
|
|
Topic  |
|
|
|