[R] [FORGED] help using ggplot for contour plot

Jatin Kala jatin.kala.jk at gmail.com
Mon Dec 19 02:08:47 CET 2016


It seems that the mail system removed my attachments.

Here are Dropbox links to the files:



Data being read in:








On 19/12/16 4:29 am, Paul Murrell wrote:
> Hi
> It is difficult to help because the data needed to run your code is 
> not provided.
> This blog post looks like it contains some useful information ...
> http://www.exegetic.biz/blog/2013/12/contour-and-density-layers-with-ggmap/ 
> Paul
> On 16/12/16 19:03, Jatin Kala wrote:
>> Hi R community,
>> I am trying to do a contour plot of (longitude, latitude, 
>> concentration).
>> This is easy enough using filled.contour.
>> However, i am trying to do the same contour plot using ggplot, and
>> overlaying the plot on google-map.
>> The script and data being read is attached.
>>  test_filled_contour_plot.png is what contour.filled gives me.
>> GF_test.png is the output from using ggplot. Something is going wrong,
>> but i can't figure out what, and it's doing my head-in....
>> Any help would be greatly appreciated.
>> 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