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

Facet_zoom + geom_abline issue #21

Closed
Alexander-Minyushkin opened this issue Nov 23, 2016 · 0 comments
Closed

Facet_zoom + geom_abline issue #21

Alexander-Minyushkin opened this issue Nov 23, 2016 · 0 comments
Labels
bug an unexpected problem or unintended behavior

Comments

@Alexander-Minyushkin
Copy link

How to add abline to facet_zoom plot if I want to see it both on original and zoomed parts?
Currently I get this error:

ggplot(iris, aes(Petal.Length, Petal.Width, colour = Species)) +
    geom_point() + facet_zoom(x = Species == "versicolor") +
    geom_abline(slope =0.3) 

Error in data.frame(..., check.names = FALSE) :
arguments imply differing number of rows: 0, 1

@thomasp85 thomasp85 added the bug an unexpected problem or unintended behavior label Nov 23, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug an unexpected problem or unintended behavior
Projects
None yet
Development

No branches or pull requests

2 participants