map.restrict | R Documentation |
This function clips a set of map boundaries exactly to the plot domain.
map.restrict(bxy,xlim,ylim,xperiod=NA_real_,xfrac=0.5,yperiod=NA_real_,yfrac=NA_real_)
periodicity(domain=.Last.domain())
bxy |
Number of points to be clicked. |
xlim , ylim |
Min/max values of the domain. |
xperiod , xfrac , yperiod , yfrac |
Uually, only the x axis may be periodic for certain projections. |
domain |
A geodomain. |
Usually, a user will never use these functions directly, but they are available just in case. periodicity
is a simple function that guesses the periodicity of a map, while map.restrict
clips a map to the correct boundaries.
locator
## Not run:
lalo <- laloclick(2) # lalo now contains the co-ordinates
points(proj4(lalo),pch='x') # indicate the points on the present map.
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.