How can I avoid the legend being broken into two lines in my horizontal legend? Thanks a lot!
            Asked
            
        
        
            Active
            
        
            Viewed 439 times
        
    2
            
            
        - 
                    Don't know what you mean by "line break". It looks fine to me. – Mike Wise Jan 18 '16 at 15:08
- 
                    Thanks or your response! I would like the legend to be _single-lined_ not _two-lined_. – Stücke Jan 18 '16 at 17:35
- 
                    2`+ guide_legend(nrow = 1)`. – Axeman Jan 18 '16 at 19:18
- 
                    1Possible duplicate of [Legend on bottom, two rows wrapped in ggplot2 in r](http://stackoverflow.com/questions/27130610/legend-on-bottom-two-rows-wrapped-in-ggplot2-in-r) – Axeman Jan 18 '16 at 19:21
- 
                    1Thanks for your responses @Axeman If I use `+ guide_legend(nrow = 1)` I get this error `Error in +guide_legend(nrow = 1) : invalid argument to unary operator` With `guides(fill=guide_legend(nrow=2,byrow=TRUE))` I get `Error in +guides(fill = guide_legend(nrow = 2, byrow = TRUE)) + y_lab <- c(round(uws_data[1:9, : target of assignment expands to non-language object` – Stücke Jan 20 '16 at 15:12

 
    