1

I use the StandardReport style sheet in my notebooks, but I would like to export plots without any backgrounds. Apparently, there isn't a global option to change the background on a plot, so I change the background for everything:

bgc = White;
ListPlot[{{1, 1}, {2, 2}}
, Background -> bgc
, TicksStyle -> {{12, Background -> bgc}, {12, Background -> bgc}}
, Joined -> True
, PlotMarkers -> Automatic
]

But there is still a gray background on plot markers.

example

How can I disable it?

Szabolcs
  • 234,956
  • 30
  • 623
  • 1,263
Clèm
  • 111
  • 4

1 Answers1

1

Edit, 28.06.2016

There is a Background on PlotMarkers on 10.0 for Mac OS X x86 (64-bit) (December 4, 2014) with the StandardReport style:

 bgc = White;
 ListPlot[{{1, 1}, {2, 2}}, Background -> bgc, 
 TicksStyle -> {{12, Background -> bgc}, {12, Background -> bgc}}, 
 Joined -> True, PlotMarkers -> Automatic]

enter image description here

enter image description here

There is no Background on PlotMarkers on 10.0 for Mac OS X x86 (64-bit) (December 4, 2014) with the StandardReport style when using BaseStyle -> {Background -> None}:

bgc = White;
ListPlot[{{1, 1}, {2, 2}}
 , Background -> bgc
 , TicksStyle -> {{12, Background -> bgc}, {12, Background -> bgc}}
 , Joined -> True, PlotMarkers -> {{Graphics[{Disk[]}], 1/4}}
 , PlotRange -> {{0, 3}, {0, 3}}
 , BaseStyle -> {Background -> None}]

enter image description here

enter image description here

There is no Background on PlotMarkers on 10.0 for Mac OS X x86 (64-bit) (December 4, 2014) without the StandardReport style.

bgc = White;
ListPlot[{{1, 1}, {2, 2}}, Background -> bgc, 
TicksStyle -> {{12, Background -> bgc}, {12, Background -> bgc}}, 
Joined -> True, PlotMarkers -> Automatic]

enter image description here

And the the marker size can be tuned like so (see How can I change the size of the plot markers):

ListPlot[{{1, 1}, {2, 2}}
, Joined -> True
, PlotMarkers -> {{Graphics[{Disk[]}], 1/4}}
, PlotRange -> {{0, 3}, {0, 3}}]

enter image description here

  • Actually there is, with the StandardReport style. It appears to be the same problem I asked about a few days ago: http://mathematica.stackexchange.com/questions/118830/background-colour-of-text-in-graphics Plot markers are text too. – Szabolcs Jun 24 '16 at 16:38