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
rkbauer/R_Package_oceanmap documentation built on Nov. 11, 2023, 2:10 a.m.