overlay_points: Add points to dynamic map

Description Usage Arguments Examples

View source: R/plot.R

Description

Add points to dynamic map

Usage

1
overlay_points(myplot, lon, lat, col = "black", size = 1, opacity = 1)

Arguments

myplot

dynamic map produced by plot_map() function.

lon, lat

longitude and latitude of points.

col

colour of points.

size

size of points.

opacity

opacity of points.

Examples

1
2
3
4
all_records <- mysim$record$data_all
plot1 <- plot_map()
plot1 <- overlay_points(myplot = plot1, all_records$longitude, all_records$latitude)
show(plot1)

Michael-Stevens-27/silverblaze documentation built on May 28, 2021, 5:47 p.m.