search for: label_wrap_gen

Displaying 2 results from an estimated 2 matches for "label_wrap_gen".

2012 Aug 07
2
label_wrap_gen question
Hi, all I am trying to use the label_wrap_gen function in this website. https://github.com/hadley/ggplot2/wiki/labeller I tried to make a long name like this Light and heavy good vehicles (diesel) -\nGVX f2 = facet_grid(vehicle ~ ., labeller=label_wrap_gen(width=15)) eventually, I got something like this in my label... *Light and heavy goo...
2023 Jun 28
1
horizontal grouped stacked plots and removing space between bars
...=condition)) + geom_bar(position="dodge", stat="identity", width=0.5) + scale_fill_manual(values=c("#7b3294", "#c2a5cf", "#a6dba0", "#008837"))+ ylab("Performance (ns/day)") + facet_wrap(~specie,nrow=3, labeller = label_wrap_gen(width = 85), strip.position="bottom") + theme_bw() + theme(panel.grid = element_blank(), panel.spacing = unit(0, "mm"), legend.title=element_blank(), axis.title.x = element_blank(), panel.grid.major = element_blank(), panel.grid.mino...