Skip to content
Prev 311982 / 398506 Next

Fine Tuning Country Map

Lorenzo,
	I'd suggest posting such questions to the R-sig-geo list, which seems 
more suitable.
	The book "Applied Spatial Data Analysis with R" written by Roger 
Bivand, Edzer Pebesma and Virgilio G?mez-Rubio has exactly what you want.
	http://www.amazon.com/Applied-Spatial-Data-Analysis-Use/dp/0387781706
	Package classInt can help with colouring;
	and about the legend: "The location may also be specified by setting x 
to a single keyword from the list "bottomright", "bottom", "bottomleft", 
"left", "topleft", "top", "topright", "right" and "center". This places 
the legend on the inside of the plot frame at the given location. 
Partial argument matching is used. The optional inset argument specifies 
how far the legend is inset from the plot margins. If a single value is 
given, it is used for both margins; if two values are given, the first 
is used for x- distance, the second for y-distance."
	Good luck!

Marcio
www.dsr.inpe.br/~mello
On 8/13/12 11:33 PM, Lorenzo Isella wrote: