Description Usage Arguments Details Examples
Plot a matrix of values in the same order that it is stored (the usual mathematical way).
1 |
mat |
A numeric matrix to be plotted |
... |
Additional arguments to pass to |
The mp()
function is a simple wrapper to
image()
with a few minor changes. The plot is
flipped so that points correspond to their position in the
matrix. Also, the colours are scaled so that red is the
maximum value in the matrix and white is the minimum value.
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.