x-y plot with 2 legends
This is a modified version of plot
for 2-dimensional data,
allowing to choose symbols and colors of points according to two additional columns of dat
.
plotW2Leg( dat, useCol = c("logp", "slope", "medAbund", "startFr"), tit = NULL, subTi = NULL, subCex = 0.9, pch = 21:25, xlim = NULL, ylim = NULL, xlab = NULL, ylab = NULL, ablines = NULL, legendloc = "topright", txtLegend = NULL, histLoc = "bottomleft", legHiTi = NULL, silent = TRUE, callFrom = NULL )
dat |
(matrix or data.frame) main input |
useCol |
(character or integer) columns form |
tit |
(character) optional custom title |
subTi |
(character) optional custom subtitle |
subCex |
(numeric) cex-like expansion factor for subtitle (see also |
pch |
(integer) symbols to use for plotting (see also |
xlim |
(numeric, length=2) x- axis limits (see also |
ylim |
(numeric, length=2) y- axis limits (see also |
xlab |
(character) custom x-axis label |
ylab |
(character) custom x-axis label |
ablines |
(list) optional horzontal and/or vertical gray dashed guide-lines |
legendloc |
(character) location of legend (of symbols) |
txtLegend |
(character) optional label for legend (of symbols) |
histLoc |
(character) location of histomgram-legend (of 3rd column of |
legHiTi |
(character) optional title for histomgram-legend |
silent |
(logical) suppress messages |
callFrom |
(character) allow easier tracking of message(s) produced |
graphical output only
(standard plots) plot
from the package base
x1 <- cbind(x=c(2,1:7), y=8:1 +runif(8), grade=rep(1:4,2)) plotW2Leg(x1,useCol=c("x","y","y","grade"))
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.