figCol {GCDkit}R Documentation

Plot editing: Colours

Description

These functions enable altering colours for titles or all plotting symbols in Figaro-compatible plots.

Usage

figCol(col=NULL)

figColMain(col=NULL)

figColSub(col=NULL)

figBw()

Arguments

col

colour specification

Details

The colours can be specified both by their code (see table under Data handling|Show available colours) or R name (see Examples).

figBw sets the whole plot (main title and subtitle, axes and plotting symbols) in black and white, making them ready for printing/exporting.

Author(s)

Colin M. Farrow, colinfarrow537@gmail.com

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

See Also

'showColours' 'colours' 'figaro'

Examples

    data(blatna)
    accessVar("blatna")

    colours() # prints the list of available colour names

    # Classification diagram
    plotDiagram("TAS",FALSE) # example of a classification plot
    figSub(txt="My TAS diagram")
    figCol(col="green")
    figColMain(col="red")
    figColSub(col="blue")

    figBw()
    
    # Spider plot
    spider(WR,selectNorm("Boynton"),0.1,1000,pch=labels$Symbol,col=labels$Colour)
    figMain(txt="My REE plot")
    figSub(txt="Normalized by Boynton (1989)")
    figCol(col="green")
    figColMain(col="red")
    figColSub(col="blue")

[Package GCDkit version 6.1 Index]