R: Plot a Satellite object

plot {satellite} | R Documentation

## Plot a Satellite object

### Description

This is the standard plotting routine for the 'Satellite' class. Layers are drawn either from the start (default; limited to a maximum of 16 sub-plots) or according to the speficied band codes.

### Usage

    ## S4 method for signature 'Satellite,ANY'
    plot(x, bcde = NULL, col = grDevices::grey.colors(100), ...)

### Arguments

`x` | A 'Satellite' object, usually returned by `satellite`.
`bcde` | Band codes to be visualized, e.g. returned by `getSatBCDE`. If not supplied, the initial (up to) 16 layers are being visualized.
`col` | Color scheme.
`...` | Further arguments passed on to `plot.default`.

### See Also

`plot.default`, `par`.

### Examples

    ## Not run:
    ## sample data
    path <- system.file("extdata", package = "satellite")
    files <- list.files(path, pattern = glob2rx("LC08*.TIF"), full.names = TRUE)
    sat <- satellite(files)

    ## display data without quality flag layer
    bds <- getSatBCDE(sat)[1:11]
    plot(sat, bcde = bds)

    ## End(Not run)

[Package satellite version 1.0.2 Index]