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
>
>
> On 15.05.2012 17:38, Marion Wenty wrote:
>
>> Hel
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":
legend(0,-1.4,xjust=0,ncol=3,legen
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":
legend(0,-1.4,xjust=0,ncol=3,legend=c(colnames(dat)[-1],""),fill=c("navyblue","
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 could
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 e
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
a
6 matches
Mail list logo