Skip to content
Prev 277420 / 398506 Next

break error bars in ggplot2

Fischer, Felix <Felix.Fischer <at> charite.de> writes:
I'm not sure I completely understand your last paragraph, but
I think you want to substitute

  coord_cartesian(xlim=c(-1,3))

for your scale_x_continuous() component; as discussed in the ggplot2
book, limits set on scales act differently than limits set on 
coordinate systems.  (I'm a little surprised you get an error, though.)

  There's a very active ggplot2 google group that might be best
for ggplot(2)-specific questions ...