[R] height of plots
1Rnwb
sbpurohit at gmail.com
Sun Jan 29 21:24:24 CET 2012
Hello R gurus,
I have to create 12 plots, I have been using the following script, which
leaves a large white space between two plot. I would appreciate if someone
can suggest an alternative to reduce the white space.
par(mar=c(3,3,.5,.5))
split.screen(c(6,2)) # split display into two screens
for (i in 1:12)
{
if (i<11)
{
screen(i)
plot(1:10,xaxt='n', xlab='', ylab='')
box()
}else{
screen(i)
plot(1:10, xlab='', ylab='', cex=0.75)
box()
}
}
Thanks
Sharad
--
View this message in context: http://r.789695.n4.nabble.com/height-of-plots-tp4339152p4339152.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list