[R-sig-Geo] Rainbow color for kriged map
Paulo Justiniano Ribeiro Jr
paulojus at c3sl.ufpr.br
Mon Nov 10 19:59:20 CET 2014
I would instead consider using the package RColorBrewer and
build your own palette
Paulo Justiniano Ribeiro Jr
LEG (Laboratorio de Estatistica e Geoinformacao)
Universidade Federal do Parana
Caixa Postal 19.081
CEP 81.531-990
Curitiba, PR - Brasil
Tel: (+55) 41 3361 3573
VOIP: (+55) (41) (3361 3600) 1053 1066
Fax: (+55) 41 3361 3141
e-mail: paulojus AT ufpr br
http://www.leg.ufpr.br/~paulojus
On Mon, 10 Nov 2014, José Luis Rotundo wrote:
> Dear List,
>
> I am trying to modify the starting or ending color in Rainbow color
> function because the first (red) and last (magenta) colors are very
> similar. Ideally, I would like to start in orange or drop the magenta at
> the end.
>
> I tried modifying the start and end arguments, but the colors do not
> change.
>
> Here is part of the script:
>
> brks.eq = classIntervals(ipl$"var1.pred", n = 12, style = "fixed",
> FixedBreaks=c(30,31,32,32.5,33,33.5,34,34.5,35,35.5,36,37,38))
> rainbow(12, s = 0, v = 0, start = 1, end = max(1, 12 - 1)/12, alpha = 1)
> spplot(ipl, "var1.pred", at=brks.eq$brks, col.regions=rainbow,
> col="transparent", colorkey = T, sp.layout = combine.layout, main="2006")
>
> Any help would be appreciated.
>
> Thanks a lot in advance.
>
> Jose
>
>
> --
>
>
> José L. Rotundo
> CONICET
> Facultad de Ciencias Agrarias
> Univ. Nacional de Rosario
> Zavalla, Santa Fe
> Argentina
>
> [[alternative HTML version deleted]]
>
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
More information about the R-sig-Geo
mailing list