Description Usage Arguments Details
Uses the colormap color scale
1 2 3 4 5 |
... |
parameters to |
alpha |
pass through parameter to |
colormap |
pass through parameter to |
discrete |
generate a discrete palette? (default: |
reverse |
pass through parameter to |
For discrete == FALSE
(the default) all other arguments are as to
scale_fill_gradientn or scale_color_gradientn.
Otherwise the function will return a discrete_scale
with the plot-computed
number of colors.
See colormap for more information on the color scale.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.