Open drserajames opened 1 year ago
Dear Sarah, I am confused about what will be added to the map when using the legend() function. I only can see a box with black text. However, I hope for a series of colored circles and rectangles as a legend like the attached figure. Could please give me some suggestions about the legend ?
Thank you very much. Cheers, Jing
When using
plot(map)
, the borders of the plot can not have text or a legend on them. Resolved by setting par(mar=rep(0,4)) prior to calling plot.