When I insert the option Automatic
or All
, why are the ticks on x axis blank?
Plot[x, {x, 0, 5}, Frame -> True, FrameTicks -> {
{{{1, "a"}, {2, "b"}}, {Automatic}},
{{Automatic}, {Automatic}}}]
or
Plot[x, {x, 0, 5}, Frame -> True, FrameTicks -> {
{{{1, "a"}, {2, "b"}}, {Automatic}},
{{All}, {Automatic}}}]
Which is the right code to hold numbers on x axis (without writing them manually)?
Thank you for your time.
FrameTicks -> {{{{1, "a"}, {2, "b"}}, Automatic}, {Automatic, Automatic}}
(remove the braces aroundAutomatic
) $\endgroup$