[Tikzdevice-bugs] tikz: remove "white frame" around plot?

Matthieu Stigler matthieu.stigler at gmail.com
Tue Sep 6 18:13:14 CEST 2011


Hi

I am trying to get a plot with the same background color than the 
background color of the LaTeX page. However, it seems that tikzDevice is 
introducing by default a command:

\definecolor[named]{fillColor}{rgb}{1.00,1.00,1.00}
\fill[color=fillColor,] (0,0) rectangle (238.49,238.49);

I searched around to see how to remove this line... did not find... is 
there any way to remove it? The problem is that using ggplot2, I try to 
control this frame color from within ggplot2:
theme_update(
   plot.background = theme_rect(fill = part1_main70bis, 
colour=part1_main70bis)
)

but this is overriden by tikz :-(

Any idea? Thanks!!

Matthieu


More information about the Tikzdevice-bugs mailing list