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

bug when combining geom_hline() and coord_trans() #716

Closed
ThierryO opened this issue Nov 6, 2012 · 1 comment
Closed

bug when combining geom_hline() and coord_trans() #716

ThierryO opened this issue Nov 6, 2012 · 1 comment

Comments

@ThierryO
Copy link

ThierryO commented Nov 6, 2012

the first two plots work, the last one does not.

dataset <- data.frame(A = runif(100, 1, 10), B = rnorm(100))
ggplot(dataset, aes(x = A, y = B)) + geom_point() + coord_trans(x = "log10")
ggplot(dataset, aes(x = A, y = B)) + geom_point() + geom_hline(yintercept = 1)
ggplot(dataset, aes(x = A, y = B)) + geom_point() + coord_trans(x = "log10") + geom_hline(yintercept = 1)

sessionInfo()
R version 2.15.2 (2012-10-26)
Platform: i386-w64-mingw32/i386 (32-bit)

locale:
[1] LC_COLLATE=Dutch_Belgium.1252 LC_CTYPE=Dutch_Belgium.1252
[3] LC_MONETARY=Dutch_Belgium.1252 LC_NUMERIC=C
[5] LC_TIME=Dutch_Belgium.1252

attached base packages:
[1] stats graphics grDevices utils datasets methods base

other attached packages:
[1] plyr_1.7.1 Epi_1.1.38 scales_0.2.2 ggplot2_0.9.2.1

loaded via a namespace (and not attached):
[1] colorspace_1.2-1 dichromat_1.2-4 digest_0.5.2 grid_2.15.2
[5] gtable_0.1.1 labeling_0.2 MASS_7.3-22 memoise_0.1
[9] munsell_0.4 proto_0.3-9.2 RColorBrewer_1.0-5 reshape2_1.2.1
[13] stringr_0.6.1 tools_2.15.2

@hadley
Copy link
Member

hadley commented Feb 24, 2014

This sounds like a great feature, but unfortunately we don't currently have the development bandwidth to support it. If you'd like to submit a pull request that implements this feature, please follow the instructions in the development vignette.

@hadley hadley closed this as completed Feb 24, 2014
@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.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants