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
 line feed and carriage return

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
carsten Posted - 07/20/2004 : 10:52:20 AM
Sorry, I already submitted this topic to the Laptalk forum but the right place is certainly the Origin Forum, therefore a submitted it once more.

Is it possible to incorporate a line feed and a carriage return sequence within the Column Label field of the Worksheet Column Format window like "myColumn label \lf\cr (date: 20-7-04)" ?

Carsten
5   L A T E S T    R E P L I E S    (Newest First)
carsten Posted - 07/21/2004 : 05:45:06 AM
Thank you Mike. Your script works fine but not in case of Enhanced Legend (categorical data). For the time being I will modify the legends by hand.

Carsten
Mike Buess Posted - 07/20/2004 : 3:15:24 PM
Hi Carsten,

Something like this should work. Run it while the graph is active.

%W=%[%C,'_']; // get name of worksheet holding active dataset
%L=%W!wks.col$(colnum(%C)).label$; // get column label
label -s -sa -j 3 -n legend "\l(1) %L"; // recreate legend

I specified that the label be right-justified (-j 3) which may or may not be acceptable.

Mike Buess
Origin WebRing Member
carsten Posted - 07/20/2004 : 2:46:02 PM
Hi Mike,

thank for the comments. But your suggestions did not solve my problem. The "multi-line" column label is via ObjectName "Legend" (see Label Control of Legend of a graph) linked to the column label name of the respective worksheet. Within the wks the column label appears "multi-lined" but not in legend of the graph.

Any further suggestions are appreciated.

Carsten
Mike Posted - 07/20/2004 : 12:01:39 PM
I think I just realized what you want. To display a multi-line column label, open the Worksheet Display Control dialog box (double-click in the upper-left corner of the worksheet) and increase the Column Heading Height.

Resave the template to preserve your change.

Mike
OriginLab
Mike Posted - 07/20/2004 : 11:51:00 AM
Hi Carsten:

I'm not sure where you are going with this but you can store your example string in the column label. To return the column label, use:
%(columnNumber, @L);


For example, to return the column label for the first column of the active worksheet, enter:

%N = %(1, @L);  %N =;


Mike
OriginLab

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