Description Usage Arguments Value Examples
calculates a data frame containing a sequence of colors from one color to a second one and a parallel sequence from 0 to 1
1 | color.gradient(col.from = "red", col.to = "green", length.out = 2)
|
col.from |
first color in sequence |
col.to |
last color in sequence |
length.out |
length of sequence |
dataframe with color vector, a color sequence from col.from to col.to and sequence from 0 to 1
1 | color.gradient( "red", "green", 16 )
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.