plotmat | R Documentation |
plotmat is a utility function that is used to plot up matrices calculated by cbb, hbb, geobb, and others. It expects a matrix of values and the variable against which it is to be plotted as the rownames of the matrix. Not exported but is used by rforcpue. A legend is only produced if there is a matrix of values and is made up of the column names of the input catchb matrix.
plotmat(inm, xlab = "years", ylab = "", legloc = "topright")
inm |
a matrix of values whose rownames constitute the x-axis |
xlab |
the xlabel, defaults to "" |
ylab |
the ylabel, defaults to "" |
legloc |
the location of the legend defaults to "topright", could be "topleft", "bottomleft", or "bottomright" |
nothing, but it does plot a graph
## Not run:
ind=abd2;legloc="topright";block="block";catch="catch";year="year"
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.