[R] Plotting contour & filled.contour in one graph

From: Abd Rahman Kassim <rahmank_at_frim.gov.my>
Date: Mon 13 Feb 2006 - 15:12:45 EST

Dear All,

I have a question on overlaying a filled.contour (e.g. on soil properties data) and contour (by elevation) in one graph. Both have the same z matrix dimension. I'm able to overlay both graph, but the plots dimension did not overlap well on the same plots. How can I have both filled.contour and contour on the same graph? The commands that I have written are as follows:

filled.contour(0:15,0:10,t(matrix(Total.C,nrow=11,ncol=16))) contour(0:15,0:10,as.matrix(elev),add=T)

Thanks for anay assistance.

Regards.

Abd Rahman Kassim
Forest Research Institute Malaysia
Kepong 52109

Selangor, MALAYSIA



        [[alternative HTML version deleted]]



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Sun Feb 12 23:17:27 2006

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:42:27 EST