[R] Background Colour

Mag. Ferri Leberl ferri.leberl at gmx.at
Sat Oct 25 07:52:40 CEST 2008


Thank you for your helpfull advice. Yet the par-command has to be placed 
before frame().
Yours, Leberl



Am Samstag 25 Oktober 2008 04:18:30 schrieb andystats:
> Pretty simple- use the par() function
> pdf("rotondje.pdf",width=m, height=m)
> frame()
> par(bg="yellow")
> #your stuff
> dev.off()
>
> Hope that helps
>
> Mag. Ferri Leberl wrote:
> > Dear eveerybody,
> > I am making a .pdf, starting:
> >
> > pdf("rotondje.pdf",width=m, height=m)
> > frame()
> >
> > How can I set the background-colour of the frame yellow?
> > Thank you in advance.
> > Yours, Leberl
> >
> > ______________________________________________
> > R-help at r-project.org mailing list
> > https://stat.ethz.ch/mailman/listinfo/r-help
> > PLEASE do read the posting guide
> > http://www.R-project.org/posting-guide.html
> > and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list