Description Usage Arguments Value Examples
This rescales the palette based on where the plot range falls within the data range.
1 2 | rescale.palette(plot.range, data.range, color.len = 1000,
start.pal = colorRampPalette(c("white", "black"))(n = color.len), ...)
|
plot.range |
the range of values for plotting (i.e., range of strain means) |
data.range |
the range of values for the color ramp scale (i.e., range of strain means across all plots) |
start.pal |
the starting palette |
... |
additional arguments |
Returns rescaled palette, with same length of colors as original scale
1 | # Not Run
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.