Mathematica Stack Exchange is a question and answer site for users of Mathematica. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want the numbers along the axis to be larger than the default value. Can this be done?

The reason I am asking is because I frequently make charts in Mathematica and use them in Word. I export the charts as bitmap files and then paste the images in Word. The default text size for the axis is too small to be as clearly legible as I would like them to be when the chart is in bitmap form.

My problem would be solved if

  • there is a better way to use Mathematica charts in Word
  • I can get larger text numbers along the axis of the chart .

As an example, the following gives a plot of $\sin(x)$. How do I make the numbers on the axis larger in size?

Plot[Sin[x], {x, 0, 22}, PlotLabel -> Style["sin(x)", FontSize -> 18],
    Background -> LightYellow]
share|improve this question
How about adding: TicksStyle -> FontSize -> 18 or similar? (and I don't use Word) – Pinguin Dirk Apr 23 '13 at 6:18
Related (and useful): – R. M. Apr 23 '13 at 13:31
up vote 7 down vote accepted
Plot[Sin[x], {x, 0, 10}, TicksStyle -> Large]

For something not quite so big, use: Larger, or choose your own font size with:

Plot[Sin[x], {x, 0, 10}, TicksStyle -> Directive[FontSize -> 16]]

Edit: Further to @YvesKlett helpful comment, one can even choose different styles for the x and y axes:

Plot[Sin[x], {x, 0, 10}, TicksStyle -> {{FontSize -> 16, Orange}, {FontSize -> 22, Green}}]

share|improve this answer
The introduction to Directive might be even more instructive if used with two arguments, because for just one argument it works just as well without it. – Yves Klett Apr 23 '13 at 6:58

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.