filledContourFig {GCDkit}R Documentation

Filled contours plot

Description

Generates a frequency plot on the basis of the most recently plotted Figaro template.

Usage

filledContourFig(palette="heat.colors",grid.density=NULL,overplot=FALSE,
xlab=sheet$demo$call$xlab,ylab=sheet$demo$call$ylab,
xlim=sheet$demo$call$xlim,ylim=sheet$demo$call$ylim,
annotate.fields=FALSE,...)

Arguments

palette

character; name of the palette

grid.density

numeric; density of the grid along the x and y axes

overplot

logical; should be the diagram overplotted by the original dataset?

xlab

character vector; label for the x axis

ylab

character vector; label for the y axis

xlim

limits for the x axis

ylim

limits for the y axis

annotate.fields

logical; should be the plotted fields labeled by their names?

...

additional plotting parameters

Details

This is a somewhat modified version of the R function 'filled.contour' that produces a frequency plot on the basis of a Figaro template and superimposes, if desired, selected data points.

filledContoursFig.png

The user can specify how many intervals should be each of the axes split into ('grid.density'). This corresponds to a density of the grid, in which are the individual points classified into. A bit of experimenting with this values is usually needed. Then a colour scheme ('palette') can be chosen. After the frequency plot is generated, selected analyses can be plotted on the top ('overplot').

Value

None.

Author(s)

Vojtěch Janoušek, vojtech.janousek@geology.cz

See Also

'addContours' 'figaro' 'selectPalette'

Examples

    data(atacazo)
    accessVar("atacazo")

    plotDiagram("TAS",FALSE,TRUE)
    filledContourFig(palette="heat.colors",grid.density=50)
    
    # User-defined palette
    plotDiagram("TAS",FALSE,TRUE)
    my.palette<-colorRampPalette(c("darkred", "red","pink", "white"),space = "rgb")
    filledContourFig(palette="my.palette",grid.density=15,xlim=c(58,70),ylim=c(0,10))

[Package GCDkit version 6.1 Index]