Learn R Programming

ursa (version 3.9.4)

display_brick: Plot multi-band homogenous raster image in the PNG format.

Description

Raster image is forced to be interpreted as homogenuous (having the same units). It implies creating multi-panel layout with multiple colorbars.

Usage

display_brick(obj, ...)
display_homo(obj, ...)

Arguments

obj

Object of class ursaRaster or list of ursaRaster objects.

Value

Function returns NULL value.

Details

If argument obj is list of ursaRaster objects (or object of class ursaStack) then obj is coerced to class ursaRaster ('stack' is coerced to 'brick').

display_homo is a synonym to display_brick. It is introduced to emphasize the plotting of homogenous object.

See Also

display, display_stack, display_rgb

Examples

Run this code
# NOT RUN {
session_grid(NULL)
a <- ursa_dummy(nband=3,min=0,max=250)
a[2] <- -a[1]
a[3] <- sqrt(a[1])
a2 <- ursa_stack(a) 
print(a2)
display(a2) # likely 'display_stack' will be called
display_brick(a2,stretch="eq",labels=c(-150,-100,0,10,12,20,100,150))
# }

Run the code above in your browser using DataLab