[R] Background Colour

andystats arw2 at utah.edu
Sat Oct 25 04:18:30 CEST 2008


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

-- 
View this message in context: http://www.nabble.com/Background-Colour-tp20156600p20160652.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list