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
 Multiline tick labels

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
emk Posted - 10/21/2005 : 07:40:53 AM
Origin Version (Select Help-->About Origin): 7 sr 4
Operating System: XP sp 2
Is there a way to use multiline tick labels in Origin? If X column is set as text and column plot is made with x asis labels type set as "text from dataset", the labels easily overlap. Is there a way to make the label text word wrap inside a set box?

2   L A T E S T    R E P L I E S    (Newest First)
greg Posted - 10/21/2005 : 11:58:52 AM
While the worksheet does not allow you to type something into a worksheet cell that will appear as a multi-line label, this can be accomplished through a script.
I have posted on this question previously :
http://www.originlab.com/forum/topic.asp?TOPIC_ID=3795
and
http://www.originlab.com/forum/topic.asp?TOPIC_ID=3809

The key is in the string assignment spanning multiple lines as in:
// Assign multi-line text to a string variable
%A = First row
Second row
Third row;
// Assign the string to a cell
col(1)[1]$=%A;

The semicolon determines the end of the string assignment and the line ending characters get included. These show up in the worksheet as unknown characters, but display properly in your graphs.


Hideo Fujii Posted - 10/21/2005 : 10:42:29 AM
Hi Emk,

In my knowledge, Origin does not support the multi-line tick labels. One work-around may be to create a same scale 2nd layer corresponding to the 2nd line of the label in a separate column, and set some horizontal offset for its tick labels like in the following sample graph.
I know this is a cumbersome way, and there may be a better way around.



--Hideo
OriginLab


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