resmith
(Robert Smith)
April 3, 2020, 10:48am
1
I’m trying to increase the size of tick marks in my mathematica plots. I used the command
SetOptions[LinTicks, MajorTickLength -> {0.02, 0}, MinorTickLength -> {0.013, 0}];
which I found online. It seems to be no longer supported, but it changed my tick marks.
I tried to restore the original settings using:
Apply[SetOptions[Plot, PlotStyle -> Automatic,
FrameTicksStyle -> Automatic, TicksStyle -> Automatic,
FrameTicks -> Automatic, Ticks -> Automatic]];
However it did not work. Any ideas gratefully received?
I don’t understand the purpose of that Apply. However, I would try quitting Mathematica and restarting it.
hdolhaine
(Hans Dolhaine)
April 4, 2020, 11:47am
3
Do you mean this?
Plot[x^2/5, {x, 0, 10},
Ticks -> {{{2, , .1}, {4, , .2}, {6, "A", .25}, {8, , .15}, {10, , .5}}, Automatic},
TicksStyle -> Red]
Hi Robert,
The LinTicks function you are trying to use is a part of "CustomTicks`" package which itself is a part of "SciDraw`" package which you can find here . Read CustomTicksGuide on how to use it. You can also be interested in this discussion: