9

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

Szabolcs
  • 234,956
  • 30
  • 623
  • 1,263
Black Milk
  • 613
  • 5
  • 16

1 Answers1

10

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

halirutan
  • 112,764
  • 7
  • 263
  • 474