Hi list,
I want to plot state Texas using map function. I wrote the following code to
plot the grid boundary for Texas:
################################
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(.map.range[1]), ceiling(.map.range[2]),
floor(.map.range[3]), ceiling(.map.range[4]))
    map.grid(lim=bound,col="light grey")
####################################
Here is the problem I face:
1-I want the latitude boundary to be from 25 to 36 degree, but it goes from
25 to 32
2-When I copy the plot on pdf, the top of map will be shrinked
I appreciate if some one come back to me with solution.

Regards,
Alireza

        [[alternative HTML version deleted]]

______________________________________________
[email protected] 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