Description Usage Arguments Author(s) See Also Examples
View source: R/scale_colour_continuous.R
These functions override the standard ggplot versions to apply the viridis palette to ggplot figures.
1 2 3 4 5 6 |
... |
Arguments passed to corresponding |
Charlie Gibbons
scale_color_viridis
, scale_fill_viridis
from the viridis
package
1 2 3 4 | qplot(carat, price, data = diamonds, color = price) + scale_color_continuous("Price")
### Revert to ggplot version
qplot(carat, price, data = diamonds, color = price) + ggplot2::scale_color_continuous("Price")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.