globe-package: Simple 2D and 3D plots of Spheres including Earth

Description Details Author(s) Examples

Description

A simple package to plot 2D and 3D views of a sphere. Options include drawing Earth with its major coastline, plotting the lines of longitude and latitude, and plotting points and curves at any locations on the sphere.

Details

This package provides very basic tools for plotting lines and points on a sphere. It does not require installation of any other libraries.

The major functions are globeearth to plot a 3D view of a sphere (by default the Earth with its major coastline) and flatearth to plot a 2D projection of the sphere.

Additional tools include globelines and globepoints to draw lines and points on the sphere.

Author(s)

Adrian Baddeley and Tom Lawrence

Examples

1
2
3
   globeearth(eye=place("nedlands"), top=place("northpole"))
   flatearth(projection="atlas")
   flatearth(projection="cylindrical")

baddstats/globe documentation built on May 11, 2019, 5:24 p.m.