globedrawlat: Drawing lines of latitude and longitude

Description Usage Arguments Value Author(s) See Also Examples

View source: R/ajbplot.R

Description

These functions respectively draw lines of latitude and longitude on an image of the Earth create using globeearth.

Usage

1
2
globedrawlat(lat, eye, top, ...)
globedrawlong(lon, eye, top, ...)

Arguments

lat

A list showing lines of latitude to be drawn

lon

A list showing lines of longitude to be drawn

eye

Viewpoint. Should not be specified under normal circumstances since it is set by a previous call to globeearth (details documented there).

top

Top of plot (commonly the North Pole). Should not be specified under normal circumstances since it is set by a previous call to globeearth (details documented there).

...

Additional arguments passed to segments to control the plotting of lines.

Value

Lines of latitude/longitude are plotted on the existing image.

Author(s)

Adrian Baddeley and Tom Lawrence

See Also

globeearth.

Use globepoints to add points to this plot, globelines to add lines to this plot, and globearrows to add arrows to this plot.

Examples

1
2
3
4
globeearth()
globeearth(eye=place("madrid"))
globedrawlat(lat=seq(-90, 90, 15))
globedrawlong(lon=seq(-180,180,30))

baddstats/globe documentation built on June 4, 2017, 12:12 a.m.