plotKFS | R Documentation |
Mapping functions in the Kitimat Fjord System tailored to research needs of the Bangarang, Gitga'at, and NCCS teams.
plotKFS(
area = "Study Area",
X = c(-129.68, -128.85),
Y = c(52.8, 53.55),
mar = c(4.2, 3, 0.2, 0.2),
mai = c(0.75, 0.75, 0.1, 0.1),
land.col = "light gray",
shore.border = "dark gray",
shore.lwd = 1,
tankers = FALSE,
tankers.width = 5,
tankers.col = "tan1",
places = FALSE,
places.scale = 1,
stat = FALSE,
stat.col = "black",
stat.scale = 1,
tracks = FALSE,
track.col = "black",
blocking = NULL,
block.col = "black",
block.lwd = 1,
block.lab.scale = FALSE
)
area |
Map range. Default is "Study Area" of the Bangarang project. Other range options:
|
X |
Custom longitude range (e.g., |
Y |
Custom latitude range (e.g., |
mar |
Plot margins, passed to |
mai |
Margin size specific in inches, passted to |
land.col |
Land color. |
shore.border |
Color of shoreline border. |
shore.lwd |
Shoreline border thickness. |
tankers |
If |
tankers.width |
Tanker track line width. |
tankers.col |
Tanker track color |
places |
If |
places.scale |
Text size of place labels. |
stat |
If |
stat.col |
Station color. |
stat.scale |
Size of station dots. |
tracks |
If |
track.col |
Trackline color. |
blocking |
Controls which block stratification, if any, to show. Default is nothing.
If |
block.col |
Color of blocking borders. |
block.lwd |
Blocking border width. |
block.lab.scale |
Default is |
Generates map.
Eric Keen, Scripps Institution of Oceanography, ekeen@ucsd.edu
##############################################
# Simple plot of study area
plotKFS()
##############################################
# Zoom in of Squally Channel
plotKFS(area="Squally")
##############################################
# Self-defined map range: Kitimat Fjord System with tanker route and study tracklines
plotKFS(area="Other",
X=c(-129.9,-127.9),
Y=c(52.5,54.05),
tankers=TRUE,
tankers.col=adjustcolor("firebrick",alpha.f=.4),
tracks=TRUE)
##############################################
# Research headquarters
plotKFS(places=TRUE,places.scale=1.5)
##############################################
# 2015 Bangarang sampling plan
plotKFS(stat=TRUE,stat.scale=1.5,tracks=TRUE)
##############################################
# Examples of study area blocking for various analyses
plotKFS(blocking="minirect",block.lab.scale=1.5) # 54 mini blocks -- never used in analysis
plotKFS(blocking="mini") # Shoreline within those 54 miniblocks
plotKFS(blocking="sub") # Each waterway split into 3 subblocks
plotKFS(blocking="channel") # The 8 main waterways of Bangarang analyses
plotKFS(blocking="province") # Four main provinces
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.