Learn R Programming

globe (version 1.2-0)

globedrawlat:

Description

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

Usage

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.

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

Run this code
globeearth()
globeearth(eye=place("madrid"))
globedrawlat(lat=seq(-90, 90, 15))
globedrawlong(lon=seq(-180,180,30))

Run the code above in your browser using DataLab