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
 Origin Forum
 Multi line legend from column label

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
MarioNZ Posted - 10/09/2006 : 10:05:34 PM
Hi All,
I want to get the legend in my graphs to appear in multiple lines rather than in one long line and I also want to use the column label to create the legend automatically.

I tried LabTalk scripts that I found in the archive (http://www.originlab.com/forum/topic.asp?TOPIC_ID=3240):

%A=Line1
Line2
Line3;
wks.col2.label$ = %A;

This results in a legend like this:
--- Line1 (Line2)

and

%A = Line1\r\nLine2\r\nLine3;
wks.col2.label$ = %A;

which leads to a different result:
--- Line1rnLine2rnLine3

I also tried to incorporate the -sa switch of the label command like suggested in another post http://www.originlab.com/forum/topic.asp?TOPIC_ID=3191 but I couldn't get this going with the wks.col2.label$ command.

Any ideas how to solve my problem? What am I doing wrong?
Thanks a lot
Mario

Origin Version: 6.1
Operating System: Win2k

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