| diverging_colormap | R Documentation |
Returns a blue-white-red diverging colormap suitable for displaying signed morphometry data (e.g. cortical thickness Z-scores).
diverging_colormap(n)
n |
Number of colors. |
A character vector of hex color strings.
cols <- diverging_colormap(256)
plot(1:256, pch = 15, col = cols, cex = 2, axes = FALSE, xlab = "", ylab = "")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.