-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
Dear all,
I'd like to be able to specify a color only for the 2nd half of the plot.
See "reprex" below :
# Not specifying a color, all goes well
ggplot(
ToothGrowth %>%
mutate(across(dose, as.character)),
aes(x = dose, y = len)
) +
geom_half_boxplot() +
geom_half_point() +
theme_bw()
# Color is specified & taken into account for geom_half_point, but alignment is not suitable
ggplot(
ToothGrowth %>%
mutate(across(dose, as.character)),
aes(x = dose, y = len)
) +
geom_half_boxplot() +
geom_half_point(aes(color = supp)) +
theme_bw()
My current issue is that some points are now over the boxplot. I'd like them to stay all on the right-hand side of the boxplot. Any tips ?
Metadata
Metadata
Assignees
Labels
No labels