Re: [R] Size of the legend

2010-09-21 Thread Dennis Murphy
Hi: It is not good graphics for a legend to overlap data points, so let's see how one can get said legend away from the data. One approach in base graphics is to extend the y-axis limits and to place the legend in the open area. It would probably be better to split the legend into two halves and

Re: [R] Size of the legend

2010-09-21 Thread David Winsemius
On Sep 21, 2010, at 1:28 PM, Mestat wrote: Hi Denis, Check it out my code... This is not my real data... I would like to manage the size of the legend... Set the legend smaller than it is, because on my real data, the legend is over the values... Thanks for the help... x<-runif(100) y<-run

Re: [R] Size of the legend

2010-09-21 Thread Mestat
Hi Denis, Check it out my code... This is not my real data... I would like to manage the size of the legend... Set the legend smaller than it is, because on my real data, the legend is over the values... Thanks for the help... x<-runif(100) y<-runif(100) color<-c(rep(1,15),rep(2,20),rep(3,15),rep

Re: [R] Size of the legend

2010-09-20 Thread Dennis Murphy
Base graphics, ggplot2 or lattice? You need to be more specific. A reproducible example to illustrate your problem would be helpful. Dennis On Mon, Sep 20, 2010 at 1:07 PM, Mestat wrote: > > Hello, > Which would be the command to change the size of the legend. > I checked at the help and I foun

[R] Size of the legend

2010-09-20 Thread Mestat
Hello, Which would be the command to change the size of the legend. I checked at the help and I found out something about TEXT.WIDTH, but I am not sure if is what I want. Any help! Thanks in advance, Marcio -- View this message in context: http://r.789695.n4.nabble.com/Size-of-the-legend-tp25476