powered by
Plot polygons defined by long-style data frame
wgpolygondf(df, fill = NA, alpha = 1, extrude_height = 0, stroke = "yellow", stroke_width = 10)
Data frame to plot
Fill colour name
Alpha (transparency value)
Height of the polygon above the surrounding landscape, in TODO
Outline colour (TODO)
Outline width (TODO)
A webglobe command
# NOT RUN { library(webglobe) wg<-webglobe(immediate=TRUE) wg+wgpolygondf(ggplot2::map_data("usa"),fill="blue",extrude_height=1000) # } # NOT RUN { # }
Run the code above in your browser using DataLab