Begin forwarded message:

> From: Christine Lynn Mc Lauchlan <cmclauch...@upei.ca>
> Date: March 5, 2013 7:34:15 PM GMT+01:00
> To: CIO Student <swagathnavi...@gmail.com>
> Subject: Re: Re. Topographical Data SOS
> 
> Hi Swagath,
> 
> THIS IS PERFECT! Oh my, I have been stuggling with this for ages, and all I 
> was missing it the simple geom_tile( ).
> 
> Thank you so kindly,
> 
> Christine
> 
> 
> 
> 
> 
> 
> 
> 
> On Tue, Mar 5, 2013 at 2:19 PM, CIO Student <swagathnavi...@gmail.com> wrote:
> 
> Hi there,
> 
> There are many ways to make a topographical map in R.  Given below are two 
> examples from R  to create a topographical map of a volcano.
> 
> require(grDevices); require(graphics)
> filled.contour(volcano, color.palette = terrain.colors, asp = 1)
> title(main = "volcano data: filled contour map")
> 
> library (ggplot2)
> library(reshape2
> ggplot(melt(volcano), aes(x=Var1, y=Var2, fill=value))+geom_tile()
> 
> 
> I dont know if this is what you want to know?
> 
> Cheers,
> Swagath Navin
> 
> 


        [[alternative HTML version deleted]]

_______________________________________________
R-sig-Geo mailing list
R-sig-Geo@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-geo

Reply via email to