classRaster_plot: Simple display of raster images

plotR Documentation

Simple display of raster images

Description

Function image for ursaRaster object calls generic function image.
Function plot for ursaRaster object calls function filled.contour.
Color tables are supported.

Usage

## S3 method for class 'ursaRaster'
plot(x, ...)

## S3 method for class 'ursaRaster'
image(x, ...)

Arguments

x

Object of class ursaRaster

...

Other parameters. Are passed to or filled.contour or to generic function image.

Details

Usage of both these functions is justified for low-level control of plotting. It is recommended to use high-level function display. It is flexible and power instrument for raster images visualization.

Function as.list for ursaRaster object transforms single band of raster image to a suitable object for plotting via function image from package graphics

Value

Returned value from image or filled.contour (both functions are in the package graphics)

Author(s)

Nikita Platonov platonov@sevin.ru

See Also

display

Examples

session_grid(NULL)
a <- pixelsize()
plot(a,asp=1)
image(a,asp=1)
b <- colorize(a,ncolor=15)
plot(b,asp=1)
image(b,asp=1)

nplatonov/ursa documentation built on May 8, 2024, 6:02 p.m.