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.

I'm liking the new plot themes in Mathematica 10, but finding that I can't override the options it sets. For example,

Plot[x^2, {x, 0, 10}, AxesLabel -> {x}, PlotTheme -> "Scientific"]

returns the right plot but without the axis label. How do I fix this?

share|improve this question

2 Answers 2

up vote 7 down vote accepted

The theme generates a framed plot. You need to use FrameLabel,e.g.

Plot[x^2, {x, 0, 3}, FrameLabel -> {Style[x, 30], Style[y, 30]}, 
 PlotTheme -> "Scientific"]

enter image description here

share|improve this answer
1  
You took the time to style your labels. +1 :-) –  Mr.Wizard Jul 18 at 13:23

"Scientific" is a framed plot style therefore you need FrameLabel:

Plot[x^2, {x, 0, 10}, FrameLabel -> {x}, PlotTheme -> "Scientific"]

enter image description here

share|improve this answer
1  
I was to slow...alas –  ubpdqn Jul 18 at 13:16

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.