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
 Naming graphs

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
JonasKlim Posted - 01/26/2018 : 04:45:12 AM
Origin Ver. and Service Release (Select Help-->About Origin): Student 2018 64 bit SR1, b9.5.1.195
Operating System: win 10
Hello,

I use the script below to create graphs in batch mode the script creates long name and short name using the same string. This is not convenient since length of the short name is limited. How to modify the scrip to use different strings for long and shot graph name? The short name can be "default" or user created.

doc -e LW {;
R0 = Round(Median(Col(10)),0);
grname$= page.longname$+" "+wks.name$;
plotxy iy:=(1,3) plot:=200 color:=1 ogl:=[grname$]1!;
layer.plot = 1;
set %C -d 0;
String label$=R0= $(R0) Ohm;
label -s -n MyText %(label$);
};

Best regards,

Jonas
1   L A T E S T    R E P L I E S    (Newest First)
yuki_wu Posted - 01/29/2018 : 9:45:40 PM
Hi Jonas,

You can create the graph at first and then rename the long name of the graph window. For example:


grname$= page.longname$+" "+wks.name$;
plotxy iy:=(1,3) plot:=200 color:=1 ogl:=[grname$]1!;
page.label$ = grname$;


Hope it helps.

Regards,
Yuki
OriginLab

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