Plot an amsr Object

# S4 method for amsr
plot(
  x,
  y,
  asp,
  missingColor = list(land = "papayaWhip", none = "lightGray", bad = "gray", rain =
    "plum", ice = "mediumVioletRed"),
  debug = getOption("oceDebug"),
  ...
)

Arguments

x

an amsr object.

y

String indicating the name of the band to plot; if not provided, SST is used; see the documentation for the amsr class for a list of bands.

asp

Optional aspect ratio for plot.

missingColor

List of colors for problem cases. The names of the elements in this list must be as in the default, but the colors may be changed to any desired values. These default values work reasonably well for SST images, which are the default image, and which employ a blue-white-red blend of colors, no mixture of which matches the default values in missingColor.

debug

A debugging flag, integer.

...

extra arguments passed to imagep(), e.g. set col to control colors.

See also

Examples

if (FALSE) { d <- read.amsr("f34_20160102v7.2.gz") asp <- 1/cos(pi*40/180) plot(d, "SST", col=oceColorsJet, xlim=c(-80,0), ylim=c(20,60), asp=asp) data(coastlineWorld) lines(coastlineWorld[['longitude']], coastlineWorld[['latitude']]) }