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

display_brickR Documentation

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.

...

Passed to hierarchy of plotting functions:

  • compose_open

    • compose_design

  • compose_plot

    • panel_new

    • panel_raster

    • panel_decor

      • panel_graticule

      • panel_coastline

      • panel_scalebar

      • panel_annotation

    • compose_legend

  • compose_close

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.

Value

Function returns NULL value.

Author(s)

Nikita Platonov platonov@sevin.ru

See Also

display, display_stack, display_rgb

Examples

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))

nplatonov/ursa documentation built on Feb. 2, 2024, 4:08 a.m.