Re: [R] ggplot2 dot chart-start at zero

2012-02-29 Thread Robert Baer
Not sure I'm interpreting what you want to do correctly, but how about: p2 <- pa + scale_x_continuous(limits=c(0,80)) p2 -Original Message- From: John Kane Sent: Wednesday, February 29, 2012 2:32 PM To: r-help@r-project.org Subject: [R] ggplot2 dot chart-start at zero I a

[R] ggplot2 dot chart-start at zero

2012-02-29 Thread John Kane
I am trying to create a simple dot-plot in ggplot2 with a solid line from the y-axis to the dot, something I first saw in Cleveland's 1984 book What I would like is to have the graph start at zero on the x-axis but leave some space on the right side of the plot area. I assumed that I should be