Usage
## S3 method for class 'landsat':
plot(x, band, which = 1, decimate = TRUE, zlim,
utm = FALSE, col = oce.colorsPalette, drawPalette = TRUE,
showBandName = TRUE, alpha.f = 1, red.f = 2, green.f = 2,
blue.f = 4, offset = c(0, 0, 0, 0), transform = diag(c(red.f, green.f,
blue.f, alpha.f)), debug = getOption("oceDebug"), ...)
Arguments
band
If given, the name of the band. For Landsat-8 data, this may be
one of: "aerosol"
, "blue"
, "green"
, "red"
,
"nir"
, "swir1"
, "swir2"
, "panchromatic"
,
which
Desired plot type; 1=image, 2=histogram.
decimate
An indication of the desired decimation,
passed to imagep
for image plots.
The default yields faster plotting. Some decimation is sensible for
full-size images, since no graphical displays can show 16 thous zlim
Either a pair of numbers giving the limits for the colourscale,
or "histogram"
to have a flattened histogram (i.e. to maximally
increase contrast throughout the domain.) If not given, the 1 and 99
percent quantiles are calculated and used as
utm
A logical value indicating whether to use UTS (easting and northing) instead
of longitude and latitude on plot.
col
Either a function yielding colours, taking a single integer
argument with the desired number of colours, or the string
"natural"
, which combines the information in the red
,
green
and blue
bands and produ
drawPalette
Indication of the type of palette to draw, if
any. See imagep
for details. showBandName
A logical indicating whether the band name is to
plotted in the top margin, near the right-hand side.
alpha.f
Argument used if col="natural"
, to adjust colours
with adjustcolor
. red.f
Argument used if col="natural"
, to adjust colours with
adjustcolor
. Higher values of red.f
cause red hues
to be emphasized (e.g. dry land). green.f
Argument used if col="natural"
, to adjust colours with
adjustcolor
. Higher values of green.f
emphasize
green hues (e.g. forests). blue.f
Argument used if col="natural"
, to adjust colours with
adjustcolor
. Higher values of blue.f
emphasize blue
hues (e.g. ocean). offset
Argument used if col="natural"
, to adjust colours with
adjustcolor
. transform
Argument used if col="natural"
, to adjust colours
with adjustcolor
. debug
Set to a positive value to get debugging information during
processing.
...
optional arguments passed to plotting functions.