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.

  • 1
    $\begingroup$ Plot[Sin[x^2], {x, 0, 3}, AxesLabel -> {"x value", "Sin(x^2)"}, BaseStyle -> {FontSize -> 18}], will enlarge the axes labels. $\endgroup$ – Soodeh Z. Nov 11 '13 at 11:10

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]



Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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