Description Usage Arguments Details Value Author(s) Examples
panel_decor
adds over plot sequentially the followed elements: coastline, gridline, scalebar. Unlike panel_decor
, function layout.grid
does not add scalebar.
1 |
... |
Passed to sequence of plotting functions:
|
The sequence of elements is constant. To change order, use direct calling of panel_graticule
, panel_coastline
, panel_scalebar
in any sequence.
Sometimes, for rasters with NA
values the followed sequence may be used:
1 2 3 | panel_coastline(col="transparent",fill="grey80")
panel_raster(a)
panel_coastline(col="grey40")
|
panel_decor
returns NULL
value.
layout.grid
returns NULL
value.
Nikita Platonov platonov@sebin.ru
1 2 3 4 5 6 7 8 9 | session_grid(NULL)
a <- ursa_dummy(nband=1,min=0,max=100)
a[a<30] <- NA
compose_open()
panel_new()
ct <- panel_raster(a)
panel_decor(graticule.col="green4",graticule.lwd=2,scalebar.col="brown")
compose_legend(ct)
compose_close()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.