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 using the standard report stylesheet in Mathematica and when I output a plot, I've set it up so that I get a white background, however the axis labels still have a gray background. How do I change it to white? Here is a small example (you have to change your stylesheet to StandardReport):

Plot[Sqrt[x], {x, 0, 10},
 PlotStyle -> {Thickness[0.025], Red},
 AxesLabel -> {"Prob[Drug,X]", "Prob[Drug,XgivenPos]"},
 PlotRange -> All, AspectRatio -> 1/2, Background -> White

enter image description here

share|improve this question
LabelStyle -> Directive[Blue, Bold, Background -> White] – DavidC Mar 28 '13 at 21:57
I don't have this problem in version 7 under Windows. Your input produces this: – Mr.Wizard Mar 28 '13 at 22:04
Mma 8.0 shows the same picture as @Mr.Wizard's – Dr. belisarius Mar 28 '13 at 22:06
@Mr.Wizard Hmm, in Linux under Mathematica version 9.0.1 I get the exact same behavior as the OP. – halirutan Mar 28 '13 at 22:07
Using Mathematica 9.0.1 on OSX here... – Black Milk Mar 28 '13 at 22:11
up vote 6 down vote accepted

You could set the LabelStyle option in every plot or globally for all Plot's

SetOptions[Plot, LabelStyle -> Directive[Background -> White]]

This should work.

enter image description here

share|improve this answer
Thank you very much, this worked perfectly. I'll upvote as soon as I get more rep. – Black Milk Mar 28 '13 at 22:14

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.