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

no tick mark at y=0 with scale_y_sqrt() #1962

Closed
DaveCooper opened this issue Dec 20, 2016 · 2 comments
Closed

no tick mark at y=0 with scale_y_sqrt() #1962

DaveCooper opened this issue Dec 20, 2016 · 2 comments

Comments

@DaveCooper
Copy link

I cannot get a tick mark at y=0 when using scale_y_sqrt, even if I explicitly ask for a break at y=0. Here's a simple example:

require(ggplot2)

d = data.frame(x=0:5, y=0:5)

ggplot(d, aes(x, y)) +
geom_point() +
scale_y_sqrt(breaks=0:5)

thanks,

Dave

my sessionInfo, in case it's useful:

sessionInfo()
R version 3.3.1 (2016-06-21)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 7 x64 (build 7601) Service Pack 1

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

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

other attached packages:
[1] ggplot2_2.1.0

loaded via a namespace (and not attached):
[1] labeling_0.3 colorspace_1.2-6 scales_0.4.0 plyr_1.8.4 tools_3.3.1
[6] gtable_0.2.0 Rcpp_0.12.7 grid_3.3.1 munsell_0.4.3

@hadley
Copy link
Member

hadley commented Jan 2, 2017

Duplicate of #980

@hadley hadley closed this as completed Jan 2, 2017
@DaveCooper
Copy link
Author

DaveCooper commented Jan 3, 2017 via email

@lock lock bot locked as resolved and limited conversation to collaborators Jun 19, 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