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

Description Usage Arguments Details Value Author(s) See Also Examples

Description

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

Usage

1
2

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

1
2
3
4
5
6
7
8
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))

ursa documentation built on Feb. 26, 2020, 3:01 p.m.