plot,landsat-method {oce} | R Documentation

## Plot a landsat Object

### Description

Plot a landsat Object

### Usage

    ## S4 method for signature '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

`x` | A `landsat` object, e.g. as read by `read.landsat`.
`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"`, `"cirrus"`, `"tirs1"`, or `"tirs2"`. For Landsat-7 data, this may be one of `"blue"`, `"green"`, `"red"`, `"nir"`, `"swir1"`, `"tirs1"`, `"tirs2"`, `"swir2"`, or `"panchromatic"`. For Landsat data prior to Landsat-7, this may be one of `"blue"`, `"green"`, `"red"`, `"nir"`, `"swir1"`, `"tirs1"`, `"tirs2"`, or `"swir2"`. If `band` is not given, the (`"tirs1"`) will be used if it exists in the object data, or otherwise the first band will be used. In addition to the above, using `band="temperature"` will plot an estimate of at-satellite brightness temperature, computed from the `tirs1` band, and `band="terralook"` will plot a sort of natural colour; see “Details”.
`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 thousand pixels on a side.
`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 limits.
`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 produces a natural-hue image. In the latter case, the band designation is ignored, and the object must contain the three colour bands.
`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.

### Author(s)

Dan Kelley

### See Also

Other functions dealing with satellite data: `[[,landsat-method`, `amsr-class`, `g1sst-class`, `landsatAdd`, `landsatTrim`, `plot,amsr-method`, `plot,satellite-method`, `read.amsr`, `read.g1sst`, `read.landsat`, `satellite-class`, `summary,amsr-method`, `summary,landsat-method`, `summary,satellite-method`

[Package oce version 0.9-18 Index]