Hi list,
I dont know why the top of map gets truncated: I appreciate if any one give
me a solution.

filename="C:\\temp\\test.pdf"
pdf(file=filename, width=15, height=10)
library(maps)
require("mapproj")
longlatLimit<-c(-106.65,  -93.53 ,  25.93 ,  36.49)
par(plt=c(0,1,0,1),cex=1,cex.main=1)  #Set plotting parameters
map(projection="azequalarea",
type="n",xlim=longlatLimit[1:2],ylim=longlatLimit[3:4])
bound<-c(floor(longlatLimit[1]), ceiling(longlatLimit[2]),
floor(longlatLimit[3]), ceiling(longlatLimit[4]))
map.grid(lim=bound,col="light grey")
dev.off()


Regards,
Alireza

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to