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

Charlie Sharpsteen chuck at sharpsteen.net
Wed Sep 7 01:40:15 CEST 2011


On Tue, Sep 6, 2011 at 9:13 AM, Matthieu Stigler <matthieu.stigler at gmail.com
> wrote:

> 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
>

Which version of R and which version of tikzDevice are you using?

-Charlie


More information about the Tikzdevice-bugs mailing list