set_scatter_colors {tidycharts} | R Documentation |
Change default colors of the scatter plots from the package.
Description
Customize your scatter plots and change default color palette.
Usage
set_scatter_colors(new_scatter_colors)
Arguments
new_scatter_colors |
vector of the length of 6 containing rgb values of chosen colors in format: "rgb(x,y,z)" |
Value
No return value, called for side effects.
Examples
mi2lab_scatter_colors <- c(
"rgb(68, 19, 71)",
"rgb(243, 46, 255)",
"rgb(106, 0, 112)",
"rgb(217, 43, 227)" ,
"rgb(114, 49, 117)",
"rgb(249, 110, 255)"
)
set_scatter_colors(mi2lab_scatter_colors)
[Package tidycharts version 0.1.3 Index]