Description Usage Arguments Details
Plot a connectivity matrix from a matrix representation.
1 2 3 4 5 6 | plotCM.matrix(prbMat, uNAZs = NULL, uNDZs = NULL, uSAZs = NULL,
uSDZs = NULL, xlab = "Nursery Areas/Alongshore Zones",
ylab = "Spawning Areas/Alongshore Zones", zmax = NULL, zmin = 0,
title = NULL, devtype = "win", cex = 1 * (devtype == "win") + 1.5 *
(devtype != "win"), colorscale = c("hot", "cold", "coldhot"),
plotfile = "CM.png", plotsize = c(970, 780))
|
prbMat |
- matrix representation of a connectivity matrix (can be NULL) |
uNAZs |
- character vector of unique nursery alongshore zones |
uNDZs |
- character vector of unique nursery depth zones |
uSAZs |
- character vector of unique spawning alongshore zones |
uSDZs |
- character vector of unique spawning depth zones |
xlab |
- label for x axis |
ylab |
- label for y axis |
zmax |
- max value for color scale |
zmin |
- min value for color scale |
title |
- title for plot |
devtype |
- 'win' or 'png' |
cex |
- character expansion factor for plot |
colorscale |
- color scale to use for plot ('hot', 'cold' or 'coldhot') |
plotfile |
- file to save plot to (if devtype != 'win') |
plotsize |
- 2 element vector giving plot size in pixels (c(W,H)) |
deprecated in favor of plotCM.GG
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.