RectangleFiller {ggRtsy} | R Documentation |
Adds transparent coloring horizontally across a ggplot
Description
Adds up to 5 colors of choice horizontally across a ggplot graph for data emphasis or decoration.
Usage
RectangleFiller(
plot1,
hex_codes = c("red", "blue", "green", "orange", "purple")
)
Arguments
plot1 |
a ggplot with a continuous x-axis |
hex_codes |
series of wanted colors |
Value
ggplot item with colors
[Package ggRtsy version 0.1.0 Index]