Re: [R] Help with removing extra legend elements in ggplot

2013-11-19 Thread Matthew Van Scoyoc
Awesome! Thanks for the fix Dennis, and thanks for clearing up aes() too. It makes sense now. Cheers, MVS = Matthew Van Scoyoc Graduate Research Assistant, Ecology Wildland Resources Department <http://www.cnr.usu.edu/wild/> & Ecology Center <http://www.usu.edu/ecology/> Qu

Re: [R] Help with removing extra legend elements in ggplot

2013-11-19 Thread Matthew Van Scoyoc
No dice. I still get the "10" legend element. Thanks for the quick reply. Cheers, MVS ===== Matthew Van Scoyoc Graduate Research Assistant, Ecology Wildland Resources Department <http://www.cnr.usu.edu/wild/> & Ecology Center <http://www.usu.edu/ecology/> Quinney Co

[R] Help with removing extra legend elements in ggplot

2013-11-19 Thread Matthew Van Scoyoc
ank(), >legend.key = element_rect(color = "white") >) I have been messing around with > theme(..., legend.key.size = unit(1, "cm")) but I keep getting the error "could not find function unit". I'm not sure why, isn't unit supposed t