From 59f597729cb4f600ffcc53229c624501e06e952a Mon Sep 17 00:00:00 2001 From: lilyclements Date: Wed, 12 Jun 2024 16:33:26 +0100 Subject: [PATCH] plot.region fix in S3 method --- R/plot-region.R | 4 ++-- man/plot.region.Rd | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/R/plot-region.R b/R/plot-region.R index fef7069..369b6d2 100644 --- a/R/plot-region.R +++ b/R/plot-region.R @@ -41,8 +41,8 @@ #' @param level The level of the data. Default is 5. #' @param CTY.type The data type for the "CTY" variable. Default is 4. #' -#' @export -#' @usage plot.region(...) +#' @export plot.region +#' @usage plot.region(lon, lat, product, time, time_point = as.Date("2002-01-01"), add2title = "CM SAF, ", lonmin = NA, lonmax = NA, latmin = NA, latmax = NA, height = 600, width = 600, plot.ano = FALSE, set.col.breaks = FALSE, brk.set = seq(240,310,5), colmin0 = NA, colmax0 = NA, ncol = 14, plotHighRes = FALSE, plotCoastline = TRUE, plotCountries = TRUE, plotRivers = FALSE, contour.thick = 2, plotCities = TRUE, pch.cities = 2, cex.cities = 1, label.cities = TRUE, plotCapitals = 1, cex.label.cities = 0.5, dlat = 0.25, plotOwnLocations = FALSE, loc_lon = c(), loc_lat = c(), loc_name = c(""), label_pos = 1, variable = "Tm", level = 5, CTY.type = 4) #' #' @examples #' # Example usage diff --git a/man/plot.region.Rd b/man/plot.region.Rd index abb9ec1..6fad86d 100644 --- a/man/plot.region.Rd +++ b/man/plot.region.Rd @@ -4,7 +4,7 @@ \alias{plot.region} \title{Generate a map of the selected product} \usage{ -plot.region(...) +plot.region(lon, lat, product, time, time_point = as.Date("2002-01-01"), add2title = "CM SAF, ", lonmin = NA, lonmax = NA, latmin = NA, latmax = NA, height = 600, width = 600, plot.ano = FALSE, set.col.breaks = FALSE, brk.set = seq(240,310,5), colmin0 = NA, colmax0 = NA, ncol = 14, plotHighRes = FALSE, plotCoastline = TRUE, plotCountries = TRUE, plotRivers = FALSE, contour.thick = 2, plotCities = TRUE, pch.cities = 2, cex.cities = 1, label.cities = TRUE, plotCapitals = 1, cex.label.cities = 0.5, dlat = 0.25, plotOwnLocations = FALSE, loc_lon = c(), loc_lat = c(), loc_name = c(""), label_pos = 1, variable = "Tm", level = 5, CTY.type = 4) } \arguments{ \item{lon}{Numeric vector representing the longitudes.}