Plate editing {GCDkit} | R Documentation |
A collection of functions to modify the properties of a plate (or all its diagrams) simultaneously.
plateXLim(xlim=NULL) plateYLim(ylim=NULL) plate0YLim() plateCex(n=NULL) plateCexLab(n=NULL) plateCexMain(n=NULL) plateAnnotationsRemove() platePch(pch=NULL) plateCol(col=NULL) plateBW() plateExpand(scr=NULL) plateExtract(diagram,which=NULL,main=NULL,...)
xlim |
scaling for the x axis |
ylim |
scaling for the y axis |
n |
relative size (use n = 1 for normal one). |
pch |
plotting symbol specification, either as string or a numeric code (showSymbols). |
col |
colour specification, either by its English name, or by a numeric code (showColours). |
scr |
number of screen to be expanded. |
diagram |
name of the function plotting a plate. |
which |
sequential number of plot in its definition. |
main |
optional alternative main title to the diagram. |
... |
additional parameters to the diagram (plate) plotting function. |
The functions serve to change properties of all particular diagrams forming the given plate.
They can be used to set up the uniform size of plotting symbols ('plateCex'
),
main title ('plateCexMain'
)
or of the axes' labels ('plateCexLab'
), remove the annotation
of classification fields ('plateAnnotationsRemove'
), uniform plotting symbol
('platePch'
) and/or colour
('plateCol'
) to all plots, or set
them into black and white ('plateBW'
). If the same variable is plotted
as x or y axis in all diagrams forming the plate (e.g., on Harker plots), it can be
scaled by means of the functions 'plateXLim'
and 'plateYLim'
.
Using the command 'plate0YLim'
it is possible to set the origin of all
non-logarithmic y axes to zero.
The function 'plateExpand'
displays a zoomed up version of the selected
diagram in a separate window.
The function 'plateExtract'
extracts a Figaro definition of a single plot
from a plate plotted by the function 'diagram'
.
None.
Vojtech Janousek, vojtech.janousek@geology.cz
Pearce J A, Harris N W & Tindle A G (1984) Trace element discrimination diagrams for the tectonic interpretation of granitic rocks. J Petrology 25: 956-983. doi:10.1093/petrology/25.4.956
Plate, plotPlate, figaro, figScale, figCol, showSymbols, showColours
data<-loadData("sazava.data",sep="\t") showSymbols() showColours() multiplePerPage(which=c("binary(\"K2O/Na2O\", \"Rb\",new=FALSE)","DebonPQ","AFM","PeceTaylor","Shand")) plateCex(0.5) plateCex(2) platePch(11) platePch("+") plateCol(11) plateCol("red") plateBW() multiple("SiO2",major) plateXLim(c(50,70)) groupsByLabel("Intrusion") spider(WR,selectNorm("Boynton"),0.1,1000,pch=labels$Symbol,col=labels$Colour) figMulti(plot.symb=TRUE) plateYLim(c(1,100)) graphicsOff() plotDiagram("DebonBA",FALSE,FALSE) figMulti() plate0YLim() plateExpand(2) plateExtract("PearceGranite",2) # Second plot of Pearce et al. (1984), i.e. Y-Nb