[R-sig-eco] Plot map in R - center and move labels: x.coords and y.coords
Lara Silva
|@r@@@|p@@||v@ @end|ng |rom gm@||@com
Sat Jun 22 07:42:09 CEST 2019
Hello,
I am new in R and I want to plot a map, but I am not able to center and
move the label of "y.coords"
library (rgdal)
p1<-readOGR(".", "WGS")
clab = 0.8
cmain = 2
caxis = 0.8
par(mar=c(4,3,1,1), mgp=c(3, 1, 0), las=1)
plot(p1,asp=1, main= "A - P", xlab="x.coords",
ylab="y.coords",cex.axis=caxis)
#mtext ("y.coords", 1, 1.5)
points(AcaciaP,cex=0.5,pch = 20)
axis(1,at = seq (365000,415000,5000))
axis(2,at = seq (4245000,4275000,5000),pos=365000)
Regards,
Lara
More information about the R-sig-ecology
mailing list