On Dec 25, 2007 9:32 PM, ONKELINX, Thierry <[EMAIL PROTECTED]> wrote:
> Felipe,
>
> You'll need to define the limits yourself with scale_y_continuous.
>
> library(ggplot2)
> p <- ggplot(mtcars, aes(x = wt, y=mpg)) + geom_point()
> p + geom_hline(intercept=0) + scale_y_continuous(limits = c(0,
> ma
: [EMAIL PROTECTED] namens Jim Lemon
Verzonden: di 25-12-2007 10:16
Aan: Felipe Carrillo
CC: [EMAIL PROTECTED]
Onderwerp: Re: [R] geom_hline
Felipe Carrillo wrote:
> Hi all:
> I am trying to draw a horizontal line along the zero
> "Y axis" value but since zero isn't sho
Felipe Carrillo wrote:
> Hi all:
> I am trying to draw a horizontal line along the zero
> "Y axis" value but since zero isn't showing therefore
> the line is not drawn. If I set my intercept to 15
> then it'll work but I dont want to hardcode it because
> the Y axis parameters could be different f
Hi all:
I am trying to draw a horizontal line along the zero
"Y axis" value but since zero isn't showing therefore
the line is not drawn. If I set my intercept to 15
then it'll work but I dont want to hardcode it because
the Y axis parameters could be different for another
variable. I would like t
4 matches
Mail list logo