legendBreaks {mapmisc} | R Documentation |
Legends for colour scale
Description
Legends where N+1 labels are supplied as the limits of N bins.
Usage
legendBreaks(pos,
breaks,
col, legend,
rev=TRUE,
outer=TRUE,
pch=15,
bg='white',
cex=par('cex'),
pt.cex=2.5*cex,
text.col=par('fg'),
title=NULL,
inset=0.05,
title.col=text.col,
adj=0,
width=Inf,
lines=Inf,
y.intersp,
...)
Arguments
pos |
Position, as specified in the |
breaks |
Optional list with elements |
col |
Single colour or vector of colours for each bin |
legend |
vector of labels for the legend, one more element than there are colours |
rev |
if |
outer |
If |
pch |
see |
bg |
background colour see |
cex |
see |
pt.cex |
see |
text.col |
see |
title |
see |
inset |
see |
title.col |
see |
adj |
Adjustment of the legend labels relative to plotting symbols. |
width |
Maximum number of characters before a line break is added to the legend labels |
lines |
Maximum number of lines in each legend label |
y.intersp |
see |
... |
Additional arguments passed to |
Details
A legend for 'z-axis' colour scales.
Value
Result of call to legend