Re: [R] barplot: legend: two rows

2012-05-22 Thread Marion Wenty
Hello Uwe, thanks for drawing this to my attention! I tried it again without adding another empty legend element and it worked - yes, the second row not being visible was my problem. Now it works! Thanks again, Marion 2012/5/15 Uwe Ligges lig...@statistik.tu-dortmund.de On 15.05.2012 17:38,

Re: [R] barplot: legend: two rows

2012-05-15 Thread Marion Wenty
Hello, I solved my problem with the uneven numbers of legend elements, which should be put into more than one rows, in the following way: I added another legend element which is empty () and is filled with white:

Re: [R] barplot: legend: two rows

2012-05-15 Thread Uwe Ligges
On 15.05.2012 17:38, Marion Wenty wrote: Hello, I solved my problem with the uneven numbers of legend elements, which should be put into more than one rows, in the following way: I added another legend element which is empty () and is filled with white:

Re: [R] barplot: legend: two rows

2012-05-11 Thread Marion Wenty
Hello, thank you very much for your answers. Using the command ncol worked in my special case, if I have got a legend with 4 elements, but with 5 it doesn't work. I am using two functions which I had created and checked what might be the difference, so that the second one doesn't work, but I

[R] barplot: legend: two rows

2012-05-09 Thread Marion Wenty
dear r-helpers, i have got another question: i am using the functions par(xpd=T) legend to create a legend below the x-axis. i used the parameter horiz=T. now i would like to put the elements of the legend in two rows: e.g. if my legend has got 5 elements, i would like 3 elements in one row

Re: [R] barplot: legend: two rows

2012-05-09 Thread Uwe Ligges
On 09.05.2012 13:23, Marion Wenty wrote: dear r-helpers, i have got another question: i am using the functions par(xpd=T) legend to create a legend below the x-axis. i used the parameter horiz=T. now i would like to put the elements of the legend in two rows: e.g. if my legend has got 5