Displaying 4 results from an estimated 4 matches for "spatialpolygonsrescale".
2013 Jan 19
1
Is it possible to create color ramp legend in spplot for discontinuous data ?
...I would like to know is how can we create the horizontal
legend. By default, the legend is vertical.
I was able to shift the legend inside the plot but not horizontal. Some of
the code I used is as follows:
##Polygon as major plot and contour as layout
## Put north icon on the map
l2 = list("SpatialPolygonsRescale", layout.north.arrow(), offset =
c(439000,3368000), scale = 4000)
l3 = list("SpatialPolygonsRescale", layout.scale.bar(), offset =
c(460000,3352000), scale = 5000, fill=c("transparent","black"))
l4 = list("sp.text",c(460000,3351500),"0")
l5 = l...
2011 Jul 13
3
adding text to spplot
hi all,
I have a plot to which i would like to add text labels. And i cant find a way...here is the code :
enaD2<-idw(D2~1, loca=dva, newdata=grd)
pts = list("sp.points", dva, pch = 20, cex=1.5, col = "darkred
spplot(enaD2, "var1.pred",sp.layout=pts, main = "globina 60 cm", sub="D2",
2011 Dec 28
3
transparency using plot+points with sp classes
How can I make one point graphics with transparency
These are all sp classes:
plot(polygons_area,axes=TRUE,asp=1.5,main="Title",xlab="Latitude",
ylab="Longitude")
points(observations2000,type = "p",pch=21,col="green")
points(observation1999,type = "p",pch=21,col="blue")
points(reference.points,type =
2014 Mar 12
3
Sobreponer dos mapas
Hola,
Estoy tratando de sobreponer un mapa sobre otro, uno que sirva de ?background? y otro con datos. Mi primer intento lo hice usando el paquete PBSmapping.
Aquí lo que hice:
library(PBSmapping)
estados <- importShapefile(?Entidades_2013.shp") #Aquí cargamos las entidades federativas (32 entidades)
zonas <- importShapefile(?zm.shp?) #Aquí cargamos las zonas metropolitanas del país