figMulti {GCDkit}R Documentation

Figaro: Multiple plot by groups

Description

Displays multiple plots, for each of the groups one, based on a most recently plotted Figaro-compatible template. For spiderplots, the colour field denotes the total variation with the whole dataset.

Usage

    figMulti(x=x.data,y=y.data,nrow=NULL,ncol=NULL,xlab=sheet$demo$call$xlab,
        ylab=sheet$demo$call$ylab,pch=NULL,col=NULL,
        cex = NULL,plot.symb=NULL,shaded.col="gray",rotate.xlab=TRUE,
    offset=TRUE,centered=FALSE,title=NULL,...)

Arguments

x, y

data to be plotted

nrow, ncol

dimensions of the plots' matrix

xlab, ylab

labels for the axes

pch

plotting symbols

col

plotting colours

cex

relative size of the plotting symbols

plot.symb

logical, spiders. Shall be shown also plotting symbols or just lines?

shaded.col

(spiders) Colour for the field portraying the overall variability in the dataset.

rotate.xlab

logical, spiders. Shall be the element names on x axis rotated?

offset

logical, spiders. Shall be the names for odd and even elements shifted relative to each other?

centered

logical, spiders. Shall be the element names on x axis plotted in between tick marks?

title

optional title for the whole plate. If not provided, it is taken from the title of the Figaro template.

...

any additional graphical parameters

Note

figMulti.png

This function uses the plates concept. The individual plots can be selected and their properties/appearance changed as if they were stand alone Figaro-compatible plots. See Plate, Plate editing and figaro for details.

Author(s)

Vojtech Janousek, vojtech.janousek@geology.cz

and Colin M. Farrow, colinfarrow537@gmail.com

See Also

figaro, Plate, Plate editing binary, ternary, spider

Examples

# Note that groups should have been defined before running these. 

# switch on the field names (default, valid globally for the whole system)
options("gcd.plot.text"=TRUE)
plotDiagram("TAS",FALSE)
figMulti()

# switch off the field names
options("gcd.plot.text"=FALSE)
plotDiagram("LarochePlut",FALSE)
figMulti(col="black",pch="*",cex=2)
options("gcd.plot.text"=TRUE)

spider(WR,selectNorm("Boynton"),0.1,1000,pch=labels$Symbol,col=labels$Colour,cex=labels$cex)
figMulti(plot.symb=TRUE,cex=2)

figMulti(col="red",plot.symb=FALSE,rotate.xlab=FALSE,offset=TRUE)

figMulti(col="red",plot.symb=FALSE,rotate.xlab=FALSE,offset=FALSE,shaded.col="khaki")

[Package GCDkit version 4.0 Index]