Consider the following code
ListLinePlot[RandomReal[{0, 1}, 1000], AspectRatio -> 1/6, Frame -> True, ImageSize -> 800,
PlotRangePadding -> 0, FrameTicks -> {{tickFunc, None}, {tickFunc, None}}]
where tickFunc
is a customized ticks function, given by
tickFunc = MapAt[Reverse, {All, 3}]@*Charting`ScaledTicks[{Identity, Identity}, "TicksLength" -> {.018, .008}];
The plot looks like
The ticks in the x-axis and their labels slightly overlap. Is there any way to adjust my code and fix this? I am aware of TickLabelPositioning
, but I am unsure whether this can be used within Frame
. I am using Mathematica 13.2.0 on Windows 11.