R/empty.plot.r

Defines functions empty.plot

Documented in empty.plot

empty.plot <- function(...,xlab="",ylab="",new=T,add=!new,n=1,axes=F){
  for(i in 1:n){
    if(!new)par(new=T)
    plot(1,lwd=0,xlab=xlab,ylab=ylab,axes=F,...)
    if(axes){
      axis(1,lwd=0,lwd.ticks=1)
      axis(2,lwd=0,lwd.ticks=1)
      box()
    }
  }
} # create empty plot

Try the oceanmap package in your browser

Any scripts or data that you put into this service are public.

oceanmap documentation built on Nov. 10, 2023, 5:08 p.m.