Instead of taking log of the values and plotting that, log the colour scale instead
1 2 | log_colour_scale(values = vvv3, scale = 0.05, midpoint = "white",
interpolate = "spline", asymetric = T, print = F)
|
values |
numeric vector, could be matrix or vector of values you will plot used to calculate range for asymetrical |
scale |
use this to rescale the range, to change what part of the log scale you're on |
midpoint |
colour of central value (0) |
interpolate |
passed to colorRampPalette |
asymetric |
logical; should 0 be at the center of offset to account for range of values |
print |
logical; should colour scale be printed or should vector of hex values be returned |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.