search for: plotlegend

Displaying 1 result from an estimated 1 matches for "plotlegend".

Did you mean: floatlegend
2008 Jul 08
0
Change legend in the 'hydrogeo' package
...code to give me an appropriate result? The answer is probably in the help assigned to the "legend" of the graphics package, but it's quite unclear to me. Many thanks in advance Tomas The piece of code from the hydrogeo package creating the legend is here: ylegend <- X plotlegend <- function(dd, X, ...) { xid <- c(X + p) yid <- c(ylegend - (X/30) * 1:nrow(dd)) text(xid, yid, labels = row.names(dd), vfont = c("serif", "plain"), cex = 0.7) if (is.character(dd$pch)) { text(xid - (X/15),...