Show legend for mdaplotg
Shows a legend for plot elements or their groups.
mdaplotg.showLegend( legend, col, pt.bg = NA, pch = NULL, lty = NULL, lwd = NULL, cex = 1, bty = "o", position = "topright", plot = TRUE, ... )
legend
: vector with text elements for the legend itemscol
: vector with color values for the legend itemspt.bg
: vector with background colors for the legend items (e.g. for pch = 21:25)pch
: vector with marker symbols for the legend itemslty
: vector with line types for the legend itemslwd
: vector with line width values for the legend itemscex
: vector with cex factor for the pointsbty
: border type for the legendposition
: legend position ("topright", "topleft', "bottomright", "bottomleft", "top", "bottom")plot
: logical, show legend or just calculate and return its size...
: other parameters