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
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum
 Origin Forum
 Multiline tick labels
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

emk

Finland
28 Posts

Posted - 10/21/2005 :  07:40:53 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
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?

Hideo Fujii

USA
1582 Posts

Posted - 10/21/2005 :  10:42:29 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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

Go to Top of Page

greg

USA
1378 Posts

Posted - 10/21/2005 :  11:58:52 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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.


Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000