On 11/21/2011 07:55 PM, Knut Krueger wrote:> Hi to all
>
> is it possible to build a legend with
>
> plot(NA, type =
"l",col="blue",lwd=2,ylim=c(-0.05,10),xlim=c(0,13),xaxt
> = "n",xlab="",ylab="") # Grafikmodus mit
erster Linie starten
> Lcolors=c("blue","orchid","green")
> lsymbols= c(16,17,15)
> Ltext= c("text1","tex2","text3")
> legend("topleft",cex=1,pch = lsymbols, Ltext, fill=Lcolors,
> border=FALSE,ncol=1,xjust=2)
>
>
> so that the symbols and the color squares have a space between?
>
>
Hi Knut,
Have a look at the legendg function (plotrix).
Jim