Em Ter, 2008-10-14 ?s 18:44 -0700, Lavan escreveu:> Hi R users,
>
> I'm trying to have the symbols for sigma[1] in my legend. the code is
given
> below, please have a look.
>
> Thanks,
>
> lavan
try legend("bottom",legend=expression(sigma[1]),...)
>
>
> legend("bottom",legend=paste("Sigma1=",
c(0.01,0.1,0.2,0.5,1,1.5,2,4,6,9.5),
> sep=""),
>
fill=c("red","green","blue","black","pink","brown","purple","yellow","lightblue","orange"))
>
--
Bernardo Rangel Tura, M.D,MPH,Ph.D
National Institute of Cardiology
Brazil