Usage
mdaplot.showLegend(legend, col, pch = NULL, lty = NULL, lwd = NULL, bty = "o", position = "topright", plot = T)
Arguments
legend
vector with text elements for the legend items
col
vector with color values for the legend items
pch
vector with marker symbols for the legend items
lty
vector with line types for the legend items
lwd
vector with line width values for the legend items
bty
border type for the legend
position
legend position ('topright', 'topleft', 'bottomright', 'bottomleft', 'top', 'bottom')
plot
logical, show legend or just calculate and return its size