[R] postscript window size

threshold r.kozarski at gmail.com
Sun Nov 7 02:23:34 CET 2010


Dear R users, simple figure: 

postscript(file="~/Desktop/figure.ps", horizontal=T, width=20, height=10)
par(mfcol=c(2,5))
plot(rnorm(100), type='l')
plot(rnorm(100), type='l')
plot(rnorm(100), type='l')
plot(rnorm(100), type='l')
plot(rnorm(100), type='l')
##-----
plot(rnorm(100), type='l')
plot(rnorm(100), type='l')
plot(rnorm(100), type='l')
plot(rnorm(100), type='l')
plot(rnorm(100), type='l')
dev.off()

Does not resize when saved on Desktop. I could ignore 'width' and 'height',
and the same result. Particular figures plot(rnorm()) are too rectangular,
when I want to have them more like squares (stretched horizontally).  

Working on Ubuntu and need to paste 'figure.ps' into latex (Kile). 
Thanks a lot, robert

-- 
View this message in context: http://r.789695.n4.nabble.com/postscript-window-size-tp3030514p3030514.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list