| scale_color_tron | R Documentation |
See pal_tron() for details.
scale_color_tron(palette = c("legacy"), alpha = 1, ...)
scale_colour_tron(palette = c("legacy"), alpha = 1, ...)
scale_fill_tron(palette = c("legacy"), alpha = 1, ...)
palette |
Palette type.
Currently there is one available option: |
alpha |
Transparency level, a real number in (0, 1].
See |
... |
Additional parameters for |
Nan Xiao | me@nanx.me | https://nanx.me
example_scatterplot() +
ggplot2::theme_dark() +
ggplot2::theme(
panel.background = ggplot2::element_rect(fill = "#2D2D2D"),
legend.key = ggplot2::element_rect(fill = "#2D2D2D")
) +
scale_color_tron()
example_barplot() +
ggplot2::theme_dark() +
ggplot2::theme(
panel.background = ggplot2::element_rect(fill = "#2D2D2D")
) +
scale_fill_tron()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.