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
 Automatic offset for axis labels (prevent overlap)

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
JoD Posted - 06/15/2020 : 05:22:21 AM
In order to prevent overlapping I would like to set the labels of the x-axis to offset alternatingly as shown in the following picture:



I could not find a way to achieve that and would be grateful for any advise.

Origin Ver. and Service Release: OriginPro 2020 (64-bit) 9.7.0.185 (Academic)
Operating System: Windows 10
3   L A T E S T    R E P L I E S    (Newest First)
JoD Posted - 06/17/2020 : 09:31:26 AM
Dear Chris, thank you very much for your helpful reply!

quote:
Originally posted by Chris D
Since my previous post, I have found a method (we actually have an animated gif of how to do it). Here is a link to the animated GIF (it can't be displayed in the forum.


The method shown in that GIF works well. However, I don‘t quite understand the idea behind „Show at Specified Indices Only“ = 2
Wouldn‘t that mean that only every second minor tick label is shown?

However, I have a usecase in which neighter the above described method nor the „hack“ mentioned in your first post seems to work:
I have a box-plot in which I want to separate categories with a line (I chose to use settings in „Grids“). This only works when the bottom tick labels are not in the form of a table. In other words when „Tick Labels → Table“ is enabled, there is no tab for „Minor Tick Labels“.

I hope the following screenshots illustrate the issue:





I would be very grateful if you had an idea how I could solve this.
Best regards
Chris D Posted - 06/15/2020 : 2:06:16 PM
Hi,

Since my previous post, I have found a method (we actually have an animated gif of how to do it). Here is a link to the animated GIF (it can't be displayed in the forum.

https://www.dropbox.com/s/s3njedebrufog0h/staggered_labels.gif?dl=0

Thanks,
Chris Drozdowski
Originlab Technical Support
Chris D Posted - 06/15/2020 : 09:34:18 AM
Hi,

There is no "official" way but there is a hack that will work if you are willing to do it.

In the source for your labels you wish to offset, position the caret at the beginning of the text and hit CTRL+Enter to add a carriage return at the start of the text. This will push the label down.

It's rough but in the end it gets the job done!

I hope this helps.


Thanks,
Chris Drozdowski
Originlab Technical Support

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