Message Boards Message Boards

0
|
4792 Views
|
3 Replies
|
0 Total Likes
View groups...
Share
Share this post:

Increase the size of tick marks plots?

Posted 4 years ago

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?

POSTED BY: Robert Smith
3 Replies
Posted 4 years ago

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:

POSTED BY: Alexey Popkov

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]
POSTED BY: Hans Dolhaine

I don't understand the purpose of that Apply. However, I would try quitting Mathematica and restarting it.

POSTED BY: Gianluca Gorni
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract