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
Plot[Sin[x^2], {x, 0, 3}, AxesLabel -> {"x value", Sin[x^2]}]

In the above code give a graph. In the graph the axes fonts are too small. My problem is that, how can I enlarge the axes text x and x^2 without changing the basic.

share|improve this question
Plot[Sin[x^2], {x, 0, 3}, AxesLabel -> {"x value", "Sin(x^2)"}, BaseStyle -> {FontSize -> 18}], will enlarge the axes labels. – Soodeh Z. Nov 11 '13 at 11:10
up vote 10 down vote accepted

This works:

Plot[Sin[x^2], {x, 0, 3}, 
 AxesLabel -> {
    Style["x value", Purple, FontFamily -> "Zapfino", FontSize -> 24], 
    Style[x^2, Orange, FontFamily -> "Zapfino", FontSize -> 24]


share|improve this answer
Aaargh, my eyes... – Simon Woods Nov 11 '13 at 11:42
@SimonWoods Sorry, I forgot you're a font purist :) – cormullion Nov 11 '13 at 11:47

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.