Skip to content

scalePow evenly spaced ticks? #3771

Answered by Fil
vincerubinetti asked this question in Q&A
Discussion options

You must be logged in to vote

Ticks are supposed to be "human readable", like 10, 20, 30, rather than arbitrary numbers such as 31.622776601683793, 44.721359549995796.

A common use case is, say powers of 2, where you want the ticks to be 1, 2, 4, 8, 16, 32, 64… and your method allows that. However it's not generic: if you add more ticks in-between you get multiples of sqrt(2), which are not "readable".

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@vincerubinetti
Comment options

@vincerubinetti
Comment options

Answer selected by vincerubinetti
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #3770 on September 28, 2023 07:44.