# Missing tick in plot

Bug introduced in 10.0.1 and fixed in 11.0.1

Consider this

Plot[Cos[π x]^2, {x, -0.5, 7.5}, PlotRange -> All, Frame -> False,
Axes -> {True, False}, Ticks -> {Range[0, 7, 1], None}]


why is the tick "2" missing? Does the character "2" have a different size compared to other characters? Is this a bug?

I'm using version 10.0.1 on OS X 10.10.1

• I cannot reproduce this behavior running v10.0.1 on OS X 10.10.1 on my MacBook Pro (mid 2014) or my MacBook Air (late 2010). – Bob Hanlon Dec 8 '14 at 23:11
• it works ok on windows 7, 10.01 !Mathematica graphics – Nasser Dec 8 '14 at 23:32
• OK, I could reproduce this behaviour with Mma 10.0.1 on OS X 10.9.5. Actually, there is no problem for me when the graphic is first displayed at its default size (360x227) but the "2" disappear when I resize manually the graphic to a smaller size (no problem for larger sizes than the default one) – SquareOne Dec 9 '14 at 0:26
• The problem occurs also if I remove the Ticks option. It seems the problem comes only from the setting Axes->{True,False}. When I set this to Axes->{True,True} there is no more problem. – SquareOne Dec 9 '14 at 0:33
• @xavier It's fixed in version 11. – xslittlegrass Nov 12 '16 at 3:53

Ticks -> {Range[0, 7, 1], Automatic}

Switch to Axes->{True,True} and post the screenshot.
Also, removing PlotRange -> All might do the trick since it is redundant (Ticks sort of handles PlotRange's meaning in this graph)