Good suggestion; I added this, on r-forge. On 06/02/2015 06:10 PM, Steinbuch, Luc wrote: > Hi, > > I would like to have nice scales with '�N' etc. in a bubble plot. > > Example: > > ################### > library(sp) > > ### example dataset > sp_yield = new("SpatialPointsDataFrame" > , data = structure(list(Yw = c(6.6, 6, 7.7, 4.4, 7.4)), .Names = "Yw", > row.names = c(NA, 5L), class = "data.frame") > , coords.nrs = numeric(0) > , coords = structure(c(9.817, 6.017, -4.317, -0.137, -0.867, 10.283, 9.1, > 11.167, 12.974, 10.8), .Dim = c(5L, 2L), .Dimnames = list(NULL, > c("Longitude_dd", "Latitude_dd"))) > , bbox = structure(c(-4.317, 9.1, 9.817, 12.974), .Dim = c(2L, 2L), > .Dimnames = list( > c("Longitude_dd", "Latitude_dd"), c("min", "max"))) > , proj4string = new("CRS" > , projargs = "+proj=longlat +datum=WGS84 +no_defs +ellps=WGS84 > +towgs84=0,0,0" > ) > ) > > > ### with spplot (and this datum, and this area in sp_yield) automatically > nice scales are generated, > # with degrees North and degrees East: > spplot(sp_yield, > zcol = "Yw", > scales = list(draw = TRUE) > ) > > ### .. with bubble however not: > bubble(sp_yield, > zcol = "Yw", > scales = list(draw = TRUE) > ) > ################### > > Any ideas..? > > Luc > > [[alternative HTML version deleted]] > > > > _______________________________________________ > R-sig-Geo mailing list > R-sig-Geo@r-project.org > https://stat.ethz.ch/mailman/listinfo/r-sig-geo >
-- Edzer Pebesma Institute for Geoinformatics (ifgi), University of Münster, Heisenbergstraße 2, 48149 Münster, Germany; +49 251 83 33081 Journal of Statistical Software: http://www.jstatsoft.org/ Computers & Geosciences: http://elsevier.com/locate/cageo/ Spatial Statistics Society http://www.spatialstatistics.info
signature.asc
Description: OpenPGP digital signature
_______________________________________________ R-sig-Geo mailing list R-sig-Geo@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-geo