Re: [R] R ggplot2 legend text left justify

2010-02-09 Thread hadley wickham
Hi Paul, That's a bug in the current version of ggplot. I'm working on update for later this week. Hadley On Mon, Feb 8, 2010 at 5:56 PM, Paul Sutcliffe psutc...@it.uts.edu.au wrote: In ggplot2 how do you justify the legend text ? In the example below the opts(legend.text = theme_text(size

Re: [R] R ggplot2 legend text left justify

2010-02-09 Thread Paul Sutcliffe
Thanks hadley wickham wrote: Hi Paul, That's a bug in the current version of ggplot. I'm working on update for later this week. Hadley On Mon, Feb 8, 2010 at 5:56 PM, Paul Sutcliffe psutc...@it.uts.edu.au wrote: In ggplot2 how do you justify the legend text ? In the example below the

[R] R ggplot2 legend text left justify

2010-02-08 Thread Paul Sutcliffe
In ggplot2 how do you justify the legend text ? In the example below the opts(legend.text = theme_text(size = 9,hjust=0)) changes the size of the text OK but it remains right justified. mydata=data.frame(RowID=c(A,B,C),Name=c(long long long long long name,short name ,medium medium