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

enter image description here

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.

  • 2
    $\begingroup$ On Mathematica Windows 10 the x-axis ticks look fine: no overlap with major tick marks. $\endgroup$
    – JimB
    Aug 8 at 22:03
  • $\begingroup$ Same here. No issues on 13.3.0. with macOSX 13.5 $\endgroup$
    – ydd
    Aug 8 at 22:24
  • $\begingroup$ @JimB Interesting, I will update Mathematica and see. I was using Mathematica 13.2.0, for no particular reason. $\endgroup$
    – sam wolfe
    Aug 9 at 11:46
  • 1
    $\begingroup$ In 13.3.0 seems to work just fine indeed, I edited the question to specify this issue was found in Mathematica 13.2.0. $\endgroup$
    – sam wolfe
    Aug 10 at 11:17
  • $\begingroup$ For me Mma 13.2 Win 10 it works without overlapping. $\endgroup$ Aug 10 at 13:25


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.