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.
______________________________________________
[email protected] 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.