[R] contour and filled contour plots

Romain François francoisromain at free.fr
Fri Jan 14 23:02:17 CET 2005


You might want to try ?image like in :

require(MASS)
x <- rnorm(50)
y <- rnorm(50)
d <- kde2d(x,y)
image(d,col=terrain.colors(50))
contour(d,add=T)


Hope this is what you are looking for.
Romain.


m p a écrit :

>Hello,
>I'd like to remove color bar from "filled.contour"
>plot.
>Is it possible and how?
>I also want to overlay "contour" plot on
>filled.contour
>but due to scaling of the "filled.contour" to
>account for the color bar, aspect ratio for "contour"
>is different from "filled.contour". Can this problem
>be solved?
>Thanks,
>Mark
>
>  
>
-- 
Romain FRANCOIS : francoisromain at free.fr
page web : http://addictedtor.free.fr/  (en construction)
06 18 39 14 69 / 01 46 80 65 60
_______________________________________________________
Etudiant en 3eme année
Institut de Statistique de l'Université de Paris (ISUP)
Filière Industrie et Services
http://www.isup.cicrp.jussieu.fr/




More information about the R-help mailing list