Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.
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

1 Answer 1

up vote 4 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]
    }]

plot

share|improve this answer
2  
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

 
discard

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.