[R] plotting a grid with color on a map
dxc13 at health.state.ny.us
Wed May 13 14:55:48 CEST 2009
Thanks, Jim. This seems to be what I am looking for. Just have to fine tune
the colors to get some distinctive greens, blues, yellows and oranges in
there and I should be good to go.
Jim Lemon-2 wrote:
> It was the NAs that fooled color2D.matplot. This gets your colors,
> although not exactly what you want. Look at the help for color2D.matplot
> to get that. I think fiddling with the x and y limits on the map() call
> will get the positions right.
> # reverse the row order, as color2D.matplot reverses it
> # don't erase the above plot
> # do a "ghost" plot with just the axes
> # add the map on top in black
> R-help at r-project.org mailing list
> PLEASE do read the posting guide
> and provide commented, minimal, self-contained, reproducible code.
View this message in context: http://www.nabble.com/plotting-a-grid-with-color-on-a-map-tp23514804p23521213.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help