Skip to content
Prev 128904 / 398500 Next

ggplot2 geom_abline slope not working?

I am learning ggplot2, and need your help.

When I try
(from http://had.co.nz/ggplot2/geom_abline.html)

the slope of the abline does not change, but this works:
In order to have slope work, I have to use
Is it a bug, or is there some reason slope and intercept were treated
differently?

Thank you very much in advance for your clarification.