0

I have been trying to plot the result of normalmixEM using the method described by jlhoward found here. My problem is that my dataset comes right off the y-axis, leading to a result that looks like this:

Image

I can't figure out how to keep geom_polygon from wrapping like that when it runs into the y-axis.

Thanks for the help!

Community
  • 1
  • 1
enpete
  • 1
  • 1
  • An easy work around is to expand the plot limits with `+ xlim(-100, 1000)`. However, your data seems to bump up against zero and therefore may not fit a normal distribution very well. – bdemarest Mar 02 '16 at 04:08
  • I tried that and it doesn't solve the problem. It does extend the axis, but the polygons don't extend into the expanded space still. – enpete Mar 02 '16 at 15:53

0 Answers0