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'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
up vote 9 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 '14 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 '14 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.