Hi Kaustuh,
Unfortunately Charting`ScaledTicks
is an undocumented function. It has been around since version 10, and is widely used internally in WL code, so it is unlikely to be removed any time soon. In it's simplest form it take a list of two functions {f1, f2}
where f2
must be the inverse function of f1
. f2
takes a single argument, the value to be scaled and returns the scaled value, f1
does the inverse. e.g. in the following plot the x
axis ticks are shown as degrees rather than radians.
Plot[Sin[x], {x, 0, Pi},
Frame -> True,
FrameTicks -> {Automatic, {Charting`ScaledTicks[{# Degree &, # / Degree &}], Automatic}}]
To see the more complex forms it supports
Needs["GeneralUtilities`"]
PrintDefinitions[Charting`ScaledTicks]