wgbar {webglobe}R Documentation

Plot bars from the surface

Description

Plots bars rising upwards from points on the Earth's surface

Usage

wgbar(lat, lon, alt = 3e+06, colour = "blue", width = 3)

Arguments

lat

Latitude of the bars' bases, in degrees

lon

Latitude of the bars' bases, in degrees

alt

Altitude of the bars' tops, may be one or many values

colour

Colour of the bars, may be one or many values

width

Width of bar bars, may be one or many values

Value

A webglobe command

Examples

## Not run: 
library(webglobe)
data(quakes)                                                      #Load up some data
wg <- webglobe(immediate=FALSE)                                   #Make a webglobe
wg <- wg + wgbar(quakes$lat, quakes$lon, alt=1.5e6*quakes$mag/10) #Plot quakes
wg <- wg + wgcamcenter(-33.35, 142.96, 8000)                      #Move camera
wg

## End(Not run)


[Package webglobe version 1.0.3 Index]