R/compose_plot.R

'.compose_plot' <- function(img,annotation=NA,decor=!FALSE,scalebar=FALSE
                           ,verbose=NA,...) {
   NULL
}
'compose_plot' <- function(...) {
   fig <- getOption("ursaPngFigure")
   if (is.null(fig))
      return(invisible(NULL))
   if (fig>=getOption("ursaPngLayout")$image)
      return(invisible(NULL))
   ct <- compose_panel(...)
   if (is.null(ct))
      return(invisible(NULL))
   arglist <- list(...)
   myname <- names(arglist)
   if (is.null(myname))
      myname <- ""
   arglist <- arglist[nchar(myname)>0]
   do.call("compose_legend",c(list(ct),arglist))
   invisible(NULL)
}

Try the ursa package in your browser

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

ursa documentation built on Oct. 17, 2023, 5:11 p.m.