[R] issue overlaying a contour plot on map

Jim Lemon drjimlemon at gmail.com
Sat Dec 10 07:29:45 CET 2016


Hi Jatin,
It looks as though the third plot has the contour plot beneath the
map, which is opaque.If you just want to show the three "hotspots" on
the map, perhaps you could adjust the colors so that they are
displayed on a transparent field instead of blue and then overlay that
on the map.

Jim


On Fri, Dec 9, 2016 at 7:02 PM, Jatin Kala <jatin.kala.jk at gmail.com> wrote:
> Hi R-community,
> I am able to do a contour plot, and a map separately, but having some issues
> overlaying them. The script and data is attached.
> test_filled_contour_plot.png is the contour plot alone
> test_ggmap.png is the map alone.
> test_overaly.png is supposed to overaly the two, but as you can see, it's
> not happening for some reason.
> Any suggestions?
> Cheers,
> Jatin
>
>
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list