Perhaps: z <- matrix(1:10, nrow=1) image(z, col=rev(terrain.colors(10)))
On 19/10/2007, Dong-hyun Oh <[EMAIL PROTECTED]> wrote: > > Dear UserRs, > > I draw filled contour plot with filled.contour function. > By default, colors of filled.contour is terrain.colors which alters > from green (the lowest level) to white (the highest level). > > I want the colors to alter from white (the lowest level) to green > (the highest level). > > How can I set this color levels? > > Thanks in advance. > > ______________________________________________ > R-help@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. > -- Henrique Dallazuanna Curitiba-Paraná-Brasil 25° 25' 40" S 49° 16' 22" O [[alternative HTML version deleted]]
______________________________________________ R-help@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.