View source: R/satfile_funcs.R
plot_swath | R Documentation |
Plot satellite swath boundary
plot_swath(
lon,
lat,
color = "red",
size = 2,
mapfill = "darkgreen",
mapcolor = "#444444",
mapalpha = 0.5
)
lon , lat |
2D numeric matrices, same size, containing the coordinates for the corresponding matrix containing the satellite data |
color |
Color of the swath boundary |
size |
Width of the swath outline |
mapfill |
Color of the continents on the map |
mapcolor |
Color of the outlines of countries on the map |
mapalpha |
Transparency of the continents on the map |
Map with a polygon showing the satellite swath boundary
# load the coordinate data from an example GCOM-C SGLI satellite file
data("example03_GC1SG1_201801031430Q31808_L2SG_IWPRK_3000")
str(longitude)
str(latitude)
plot_swath(lon=longitude, lat=latitude)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.