[R] ggplot axis limit

mdvaan mathijsdevaan at gmail.com
Fri Mar 16 18:29:14 CET 2012


Hi,

This is probably an easy one, but I am new to ggplot2 and cannot find an
answer online.

I am bar plotting values of 10 groups. These values are all within a 90-100
range, so I would like leave out the area of the bars below 90. If I say
"graph + scale_y_continuous(limit=c(90, 100))", it does limit the axis but
the bars disappear completely. Any solution here?

Thanks a lot!

Mathijs


--
View this message in context: http://r.789695.n4.nabble.com/ggplot-axis-limit-tp4478835p4478835.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list