r create empty plot, add lines code example
Example: empty plot in r
plot.new()
# or
plot(1, type="n", xlab="", ylab="", xlim=c(0, 10), ylim=c(0, 10))
plot.new()
# or
plot(1, type="n", xlab="", ylab="", xlim=c(0, 10), ylim=c(0, 10))