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
 Substitute all graph legend in project

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
elquin Posted - 11/22/2017 : 6:39:39 PM
Origin Ver. and Service Release (Select Help-->About Origin): OriginPro 8.1 SR1
Operating System: Windows 7 64bit

I have many graphs which legends are listed below;

\l(1) EXP
\l(2) Code Ver.a
\l(3) Code Ver.b

I want to change the above as;
EXP -> Data
Code Ver.a -> Code Ver.bb

How to change 'EXP' or 'Code Ver.a' to other text like in all graphs in active page or project?
1   L A T E S T    R E P L I E S    (Newest First)
yuki_wu Posted - 11/23/2017 : 02:51:58 AM
Hi,

This piece of script may help.
str$ = "\l(1) Data%(CR)\l(2) Code Ver.bb"; // reconstruct the legend 
//loop over all graph windows in this project
doc -e p 
{ 
	if(page.isEmbedded != 1)
		legend.text$ = str$; // redraw the legend
}


Regards,
Yuki
OriginLab

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