I'd like to get exactly 5 divisions from x to y on a log scale. Can FindDivisions do this?
Tell me more
×
Mathematica Stack Exchange is a question and answer site for
users of Mathematica. It's 100% free, no registration required.
|
|
||||
|
|
|
Writing one wouldn't be that hard. You can convert it to
Then, to find 4 "nice" divisions in log space between 1 and 1000, you simply need to do:
|
|||
|
|
|
I built a function that calculates log spaced increments for a job at work. I've added a catch where it will handle log spacing from 0 to a number.
To try it out:
To view it on a number line:
And if you want to find the distances between divisions, use
|
||||
|
|

