Next: Choosing an attractive linear scale for the y-axis of the graph
And what to do when some of the points are negative?
I believe that this part of the question was not answered, but it seems that I can not comment or spread this question, so I created a new
Values -100, 0, 100 with 5 ticks:
- lower bound = -100
- upper bound = 100
- range = 100-100 = 200
- ticket range = 40
- Divide by 10 ^ 2 for 0.4, translates by 0.4, which gives (multiplied by 10 ^ 2) 40.
- new lower bound = 40 * round (-100/40) = -80
- new upper bound = 40 * round (1 + 100/40) = 120
or
- new lower bound = 40 * gender (-100/40) = -120
- new upper bound = 40 * gender (1 + 100/40) = 120
Now the range has been increased to 240 (additional tick!), With 5 ticks of 40 each. 6 steps are required to fill in the new range!
Decision
source share