Wednesday, July 4, 2012

Empty plots in R

When plotting a grid of graphs in R, I needed leave some cells empty. For this the following commands come handy;
plot(0,xaxt='n',yaxt='n',bty='n',pch='',ylab='',xlab='')
plot.new()
grid.newpage()
grid()

No comments:

Post a Comment