Re: [R] figure margins too large for a barplot in png, pdf ok

2008-05-07 Thread Alexy Khrabrov
On May 6, 2008, at 10:30 PM, Prof Brian Ripley wrote: What were H W? For png() they are (by default) in pixels, for pdf() in inches. You haven't told us your OS, but I guess Mac OS. Please update to R 2.7.0: that offers you two new png() devices for higher-quality plots, and various

[R] figure margins too large for a barplot in png, pdf ok

2008-05-06 Thread Alexy Khrabrov
I've used to have a script with a barplot command it in, preceded by a png: png(graph.file,height=H,width=W) barplot(t,names.arg=breaks[2:(length(t)+1)],tck=gridlines) -- worked before R 2.6.2. When I tried it in R 2.6.2, which I have for a while but didn't run with that script, it

Re: [R] figure margins too large for a barplot in png, pdf ok

2008-05-06 Thread Charilaos Skiadas
On May 6, 2008, at 10:43 PM, Alexy Khrabrov wrote: I've used to have a script with a barplot command it in, preceded by a png: png(graph.file,height=H,width=W) barplot(t,names.arg=breaks[2:(length(t)+1)],tck=gridlines) -- worked before R 2.6.2. When I tried it in R 2.6.2, which I have