The length of
x determines how it will be treated.
x has length 1, it is returned as a single
color. If the length of
x is the number of nodes
in the grid, its value for each element is calculated as
the average of the value at the adjoining nodes. If the
x is the number of elements in the grid,
it is returned as is. Any other values throw an error.
An fvcom.grid instance.
A vector of length 1 or
A vector of length
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.