According to the documentation of Ticks
, a ticks function
The tick mark function func[Subscript[x, min],Subscript[x, max]] may return any other tick mark option
For example,
tickFunc = Subdivide[#1, #2, 6] &;
Plot[x, {x, -0.1, 3}, Frame -> True,
FrameTicks -> {{Automatic, Automatic}, {tickFunc, Automatic}}]
Will show
But I want to know what is the default tick mark function when setting Ticks
to Automatics
?
A simple manipulate like
Manipulate[Plot[x, {x, -0.1, n}, Frame -> True], {n, 1, 200, 1}]
does show some definite feature of ticks, for example, number of ticks is always between 4 and 8. But I failed to construct a tick mark function behave as default. Does anyone have ideas?
FindDivisions[]
:FindDivisions[{-0.1, 3}, {7, 6}]
$\endgroup$Plot[x, {x, -0.1, 3}, Frame -> True]
, and then look at the result ofN[FindDivisions[{-0.1, 3}, {7, 6}]]
. Notice anything? $\endgroup$