[R] Heat Maps
David L Carlson
dcarlson at tamu.edu
Mon Jul 2 17:47:34 CEST 2012
Something like this?
> image(x, y, outer(x, y, u), breaks=c(0, a), col=heat.colors(3))
> contour(x, y, outer(x, y, u),levels=a, col="blue", add=TRUE)
----------------------------------------------
David L Carlson
Associate Professor of Anthropology
Texas A&M University
College Station, TX 77843-4352
> -----Original Message-----
> From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-
> project.org] On Behalf Of Akhil dua
> Sent: Monday, July 02, 2012 2:26 AM
> To: Joseph Clark
> Cc: r-help at r-project.org
> Subject: Re: [R] Heat Maps
>
> Thanks Joseph
>
>
>
> but see i am not able to get heat maps with this code \
> can u please give me the full codes to generate heat map on the same
> graph
> where i have drawn contour lines
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list
> 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