| north.pointer {blighty} | R Documentation |
Function for drawing a north pointer on a blighty map
north.pointer(pos="AUTO")
pos |
Can be AUTO, select, or a vector with the coords. AUTO places the North pointer in the North-East corner of the map. select allows the user to select the centre of the N manually. Otherwise a vector of coordinates can be sent.
|
No return value
Draws a simple North pointer on a map. The postion refers to the centre of the N on the pointer.
You can't use this with other high level plotting commands (such as oz) because blighty() stores the mapping parameters from it's last invocation in an object called blighty.mapinfo from which the position, and size, of the scale is calculated.
David Lucy <d.lucy@lancaster.ac.uk>http://www.maths.lancs.ac.uk/~lucy/
blighty() # draw coastline
north.pointer(pos="AUTO") # automatic placing
north.pointer() # same as above
## Not run: north.pointer(pos="select") # uses locator to find the position
north.pointer(pos=c(500,500)) # vector to determine the centre of the
# N of the pointer