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

Allow setting just one of the limits of scale #557

Closed
wch opened this issue May 16, 2012 · 1 comment
Closed

Allow setting just one of the limits of scale #557

wch opened this issue May 16, 2012 · 1 comment
Milestone

Comments

@wch
Copy link
Member

wch commented May 16, 2012

It would be handy to be able to set just the lower or upper limit of a scale. For example, when making a line graph, you might just want to set the lower y limit to 0, but let ggplot automatically calculate the upper bound.

# Lower y value on plot is 8
ggplot(BOD, aes(Time, demand)) + geom_line()

# Something like this would be useful
ggplot(BOD, aes(Time, demand)) + geom_line() + ylim(0,NULL)
@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
@jimhester jimhester mentioned this issue 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