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
 Round-off problem: Tick mark frequency

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
Kazu20 Posted - 11/20/2012 : 07:27:31 AM
Origin Ver.8.5.0 SR0
Operating System: Win XP

Hi,

my problem concerns the axis scale tick labels. When the frequency of major tick marks is automatically determined using "#Major Ticks" option, it returns uncomfortable non-integer numbers.

For example:
Axis scale: From 0 to 10
#Major Ticks : 4
-> returned tick marks "0, 3.3, 6.6, 9.9"

I want to see something like "5, 10" or "2, 4, 6, 8" instead. The ver.7.5 is clever to perform the automatic round-off using the "#Major ticks", and I want to continue using it on 8.5.

Thank you.
3   L A T E S T    R E P L I E S    (Newest First)
Kazu20 Posted - 11/21/2012 : 03:50:28 AM
I thank CP and Max for quick replys.
The solution by Max works well, thank you very much!

Kazu
minimax Posted - 11/20/2012 : 10:06:29 PM
Hi Kazuhiko,

To use the "clever" round-off, you can try minus "#Major Ticks".

We allow number of major ticks to be < 0 as a workaround to achieve the old behavior.

When <0, like -4, it means rescale would work as before (ver.7.5) to try to get the best range and number of major ticks will try to be close to 4 but may not be exactly 4.

It should work in 8.5.

Max
cpyang Posted - 11/20/2012 : 1:59:45 PM
I guess the change was made in Origin 8 because some customer insisted that Origin should give exactly the number of major ticks requested. Looks like to allow both, we need to add a checkbox that allows the #Major to be approximate, rather then exact. We may have to for next version to add this checkbox since we are very close to making a service release to Origin 9.

CP

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