[ad_1]
Charting`ScaledTicks was a convenient way to organize Ticks or Frameticks in Mathematica without needing to define a tick-function. Basically most tick-related questions here were answered with this undocumented command. This command is not working anymore in Mathematica 13.
Here is an easy example how it was used:
ListPlot[{{1, 1}, {2, 2}}, PlotRange -> {{0, 2.2}, {0, 2.2}},
Frame -> True,
FrameTicks -> {{Charting`ScaledTicks["Linear"][0, 2.2, {5, 5}],
Charting`ScaledTicks["Linear"][0,
2.2, {5, 5}]}, {Charting`ScaledTicks["Linear"][0, 2.2, {5, 5}],
Charting`ScaledTicks["Linear"][0, 2.2, {5, 5}]}},
FrameTicksStyle -> {{Black,
Directive[Black, FontOpacity -> 0, FontSize -> 0]}, {Black,
Directive[Black, FontOpacity -> 0, FontSize -> 0]}}]
Now I want to define my own tick-function. In the documentation you can define the position, label and length of a certain tick with:
{{x,label,length,...}
Is there also a way to just differentiate between a standard major and a minor tick (like in Automatic), instead of using length? Or do you know the standard-size of a major and minor tick in Mathematica, because I can’t find it anywhere.
[ad_2]