Add a frame to a map
[This article was first published on me nugget
, and kindly contributed to R-bloggers
]. (You can report issue about the content on this page here
Want to share your content on R-bloggers? click here
if you have a blog, or here
if you don't.
Here is a function that adds a frame of alternating colors to a map (un-projected). One defines the extension of each bar (in degrees) and an optional width of the bars (in inches). It uses the "joinPolys" function of the package to trim the bars near the map corners where the axes meet.
the map.frame function:
Read more »
If you got this far, why not subscribe for updates
from the site? Choose your flavor: e-mail
, or facebook