# legendSquaresSymbols: Legend for Proportional Squares Maps In cartography: Thematic Cartography

## Description

Plot legend for proportional squares maps

## Usage

 ```1 2 3``` ```legendSquaresSymbols(pos = "topleft", title.txt = "Title of the legend", title.cex = 0.8, cex = 1, values.cex = 0.6, var, inches, col = "red", frame = FALSE, values.rnd = 0, style = "c") ```

## Arguments

 `pos` position of the legend, one of "topleft", "top", "topright", "right", "bottomright", "bottom", "bottomleft", "left" or a vector of two coordinates in map units (c(x, y)). `title.txt` title of the legend. `title.cex` size of the legend title. `cex` size of the legend. 2 means two times bigger. `values.cex` size of the values in the legend. `var` vector of values (at least min and max). `inches` length of the sides of the larger square. `col` color of symbols. `frame` whether to add a frame to the legend (TRUE) or not (FALSE). `values.rnd` number of decimal places of the values in the legend. `style` either "c" or "e". The legend has two display styles, "c" stands for compact and "e" for extended.

## Examples

 ```1 2 3 4 5 6 7 8 9``` ```data("nuts2006") plot(nuts0.spdf) box() legendSquaresSymbols(pos = "bottomright", title.txt = "Title of\nthe legend ", title.cex = 0.8, values.cex = 0.6, var = c(max(nuts1.df\$pop2008), min(nuts1.df\$pop2008)), inches = 0.5, col="red", frame=TRUE, values.rnd=0, style ="c") ```

cartography documentation built on Sept. 25, 2017, 5:03 p.m.