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

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
  • [R] legend Lavan
    • Re: [R] legend Bernardo Rangel Tura

Reply via email to