Remap a matrix with the named viridis palette
1 | remap_with_viridis(mat, pal_name = "B")
|
mat |
numeric matrix |
pal_name |
viridis palette name. c('A', 'B', 'C', 'D', 'E') or c('magma' , 'inverno', 'plasma', 'viridis', 'cividis') |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.