[R-sig-Geo] Variable point size with spplot
Edzer Pebesma
edzer.pebesma at uni-muenster.de
Tue Mar 27 13:30:30 CEST 2012
This issue should have been solved now, with sp_0.9-98 released
(propagating through CRAN).
On 03/26/2012 01:10 PM, piero campa wrote:
> Dear list,
> I used to plot points of variable size with "spplot" this way:
>
> library(RColorBrewer)
> data(meuse)
> coordinates(meuse) <- ~x+y
> spplot(meuse, zcol="om",
> col.regions=colorRampPalette(brewer.pal(7, "PuBu")[-(1:1)])(20),
> scales=list(draw=TRUE),
> cex=.4*(1:5)
> )
>
> but now, after R upgrade, this is not working properly anymore.
> As you can see from the attached image, colors are not well linked to points
> size.
>
> Any hint?
>
> -Piero
>
> --
> View this message in context: http://r-sig-geo.2731867.n2.nabble.com/Variable-point-size-with-spplot-tp7405527p7405527.html
> Sent from the R-sig-geo mailing list archive at Nabble.com.
>
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
--
Edzer Pebesma
Institute for Geoinformatics (ifgi), University of Münster
Weseler Straße 253, 48151 Münster, Germany. Phone: +49 251
8333081, Fax: +49 251 8339763 http://ifgi.uni-muenster.de
http://www.52north.org/geostatistics e.pebesma at wwu.de
More information about the R-sig-Geo
mailing list