Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upgeom_boxjitter: can we skip drawing the jitter points? #4
Comments
|
It's a bit more difficult than that because while only half the boxplot is shown, it takes up an entire factor on the scales together with the points. But I like the general idea so I am considering changing up the function arguments a bit. With a9496e9 you can pass on a In this case: ggplot(iris, aes(y = Petal.Width)) +
geom_boxjitter(jitter.position = ggbeeswarm:::PositionQuasirandom,
jitter.params = formals(position_quasirandom)) +
theme_classic() |
|
Thanks for the quick update! Can you color different species (as in my example) too? |
|
I have to think about how to implement that in a user-friendly way. I could imagine passing a vector to |
|
Getting back to this: It seems rather pointless to implement without also properly implementing |
|
@erocoar : thanks for the update! |
|
@erocoar : Hi this is off topic but how can you control the width of the boxplot? I tried |
|
Okay so for the For the width, it should (and does for me) change the width of both boxplot and point spreading. Is that the case for you too? |
|
Great! Thanks for working on this! I'll try it as soon as I can |

Hello,
I want to keep only the half boxplot and replace the jitter points with the points from the
ggbeeswarmpackage. Is it possible? Could you add an option to turn on/off the plotting of all the points?In the example below, I can disable the color of all the jitter points but it leaves an empty space between the boxplot and the beeswarm.
Thanks!
Created on 2019-05-18 by the reprex package (v0.3.0)