Learn R Programming

geoSpectral (version 0.17.5)

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

Description

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

Usage

spc.plot.grid(x,FUN, nnrow, nncol, mar,oma, lab_cex, ...)

# S4 method for 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

Run this code
# NOT RUN {
sp <- spc.example_spectra()
BL = spc.makeSpcList(sp,"CAST")
spc.plot.grid(BL,"spc.plot",3,2)

# }

Run the code above in your browser using DataLab