[R] 'Extracting' plot area

Tine tine.mlac at academa.si
Wed May 21 15:02:17 CEST 2008


Hi!

Does anyone know hot to save (to png, pdf, ...) only plot area. That is 
without box around, titles, axis, ...
I tried: par(mar=c(0,0,0,0)) and it works for internal viewer (linux and 
windows).
But when I save the image in png it adds that annoying margin around 
plot area.
Any ideas?

by, Tine



More information about the R-help mailing list