Learn R Programming

GEOmap (version 2.5-11)

addTIX: Add Tic marks to map

Description

Add Tic marks to map

Usage

addTIX(lats, lons, PROJ = list(), PMAT = NULL,
col = gray(0.7), TICS = c(1, 1), OUTER = TRUE,
sides = c(1, 2, 3, 4))

Value

Graphical Side Effects

Arguments

lats

Latitudes in Degrees

lons

Longitude in Degrees

PROJ

Map Projection list

PMAT

Perspective matrix conversion

col

color

TICS

tic labels

OUTER

logical

sides

sides, 1,2,3,4

Author

Jonathan M. Lees<jonathan.lees.edu>

Details

attempts to make correct default values

See Also

addLLXY

Examples

Run this code

##########3  this program is run internally


PLOC=list(LON=c(137.008, 141.000),
LAT=c(34.000, 36.992),
x=c(137.008, 141.000),
y=c(34.000, 36.992))

PROJ = setPROJ(type=2, LAT0=mean(PLOC$y) , LON0=mean(PLOC$x) )

gxy = GLOB.XY(PLOC$LAT, PLOC$LON, PROJ)

PLAT =  pretty(PLOC$LAT)

PLAT = c(min(PLOC$LAT),PLAT[PLAT>min(PLOC$LAT)&PLATmin(PLOC$LON)&PLON

Run the code above in your browser using DataLab