Re: [R] label_wrap_gen question

2012-08-08 Thread vd3000
Hi, Brian So, I could only rename the label by myself such as Light and heavy\ngood vehicles (diesel) -\nGVX in order to get Light and heavy good vehicles (diesel) - GVX Right? -- View this message in context:

Re: [R] label_wrap_gen question

2012-08-08 Thread Brian Diggs
On 8/8/2012 12:30 AM, vd3000 wrote: Hi, Brian So, I could only rename the label by myself such as Light and heavy\ngood vehicles (diesel) -\nGVX in order to get Light and heavy good vehicles (diesel) - GVX Right? First an etiquette comment: it is customary to quote context when replying

Re: [R] label_wrap_gen question

2012-08-07 Thread Brian Diggs
On 8/6/2012 9:07 PM, vd3000 wrote: 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 ~ .,