Adam SO Adam SO - 1 month ago 11
R Question

R - How to draw an empty plot?

Every once in a while I need to make an empty plot. This is the best could I come up with.

plot(0,xaxt='n',yaxt='n',bty='n',pch='',ylab='',xlab='')


Any simpler solutions?

p.s 1: completely empty, no axis etc.

Thanks!

Answer

How about something like:

plot.new()
Comments