Hello,

Sorry to ask again something with ggplot2...

I detect something, perhaps a bug (but more probably a syntax error, I'm
learning...) :

# This is working : x = wt, y = mpg, abline with intercept = 20 and slope =
1
qplot(wt, mpg, data = mtcars) + geom_abline(intercept = 20, slope = 1)
# This is not working : x = mpg, y = wt, abline with intercept = 3 and slope
= 1
qplot(mpg, wt, data = mtcars) + geom_abline(intercept = 3, slope = 1)

There is only points, no line, on the second graph.

(R 2.8.0, ggplot2 0.7, windows 2000)

Many thanks.

david

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to