# Example 1a: Line plot from CSV
# library(oceanmap)
# csv_file <- system.file("example_files/15P1019-104659-1-GPE3.csv", package="RchivalTag")
# pos <- get_geopos(csv_file)
# ggobj <- ggplot_geopos(pos)
# ggobj
# ggplotly_geopos(ggobj)
# Example 1b: Scatter plot on existing landmask
# ggobj <- oceanmap::ggplotmap("lion", grid.res=5)
# ggobj4 <- ggplot_geopos(csv_file, ggobj)
# ggplotly_geopos(ggobj4)
# Example 2: Probability surfaces from netCDF
# nc_file <- system.file("example_files/15P1019-104659-1-GPE3.nc", package="RchivalTag")
# ggobj6 <- ggplot_geopos(nc_file)
# ggplotly_geopos(ggobj6)
# Example 3: Probability surfaces from KMZ
# kmz_file <- system.file("example_files/15P1019-104659-1-GPE3.kmz", package="RchivalTag")
# ggobj7 <- ggplot_geopos(kmz_file)
# ggplotly_geopos(ggobj7)
Run the code above in your browser using DataLab