spc.plot.grid: Plotting 'SpcList' object in a grid

Description Usage Arguments Examples

Description

Generating plot of the contents of a SpcList object in a grid

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
spc.plot.grid(x,FUN, nnrow, nncol, mar,oma, lab_cex, ...)

## S4 method for signature 'SpcList'
spc.plot.grid(
  x,
  FUN,
  nnrow,
  nncol,
  mar = c(4, 4.5, 1, 0.5),
  oma = c(0, 0, 0, 0),
  lab_cex,
  ...
)

Arguments

x

a SpcList data

FUN

a character string giving the name of the ploting function to be used. Can be either of "spc.plot"

nnrow

number of rows for the grid to be produced

nncol

number of columns for the grid to be produced

mar

A numeric vector of length 4, which sets the margin sizes in the following order: bottom, left, top, and right. The default is c(4,4.5,1,0.5)

oma

oma the "outer margin area" around a figure or figures. The usage of mar and oma is shown when plotting a single figure,

lab_cex

vector of character expansion sizes, used cyclically

...

any further arguments of plot

Examples

1
2
3
sp <- spc.example_spectra()
BL = spc.makeSpcList(sp,"CAST")
spc.plot.grid(BL,"spc.plot",3,2)

PranaGeo/Spectral documentation built on Feb. 21, 2020, 12:36 p.m.