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.
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)
flatearth to plot a 2D projection of the sphere.
Additional tools include
globepoints to draw lines and points on the sphere.
Adrian Baddeley and Tom Lawrence
1 2 3
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.