Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tweak position of categorical data #1109

tongcx opened this issue May 18, 2015 · 1 comment

Tweak position of categorical data #1109

tongcx opened this issue May 18, 2015 · 1 comment


Copy link

tongcx commented May 18, 2015

For the following example

x <- c(1,3,2,5)
y <- c("a","c","d","c")
qplot(x, y)

How do I move all points a bit downward? I can use position_jitter, but that's random. I think the best solution is to program a customized version of sth like position_jitter. However after reading source code
I am still not clear how to achieve this.

Copy link

hadley commented Jun 10, 2015

Maybe call it position nudge?

@hadley hadley closed this as completed in 26776c3 Jun 11, 2015
@lock lock bot locked as resolved and limited conversation to collaborators Jun 20, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
None yet
None yet

No branches or pull requests

2 participants