Hi,

I try this one:

boxplot(dados[,5]~dados$Trat, xaxt = "n", ylab =
    substitute(paste("mg de CO"[2],"/100 mL de MC"),list(x="")))

and I get this one in ylab:

NA/100 mL de MC

If I try this one:

plot(1,2,
     xlab =
     substitute(paste("Arrival date 1 = May 1"^{st},"",list(x=""))),
     ylab =
     substitute(paste("mg de CO"[2],"/100 mL de MC"),list(x="")))

I see this one in ylab:

mg de CO$_2$/100 mL de MC
        ^^^^^
        LaTeX because I dont know how I type sub in txt. I am sorry.

How I do the same in the boxplot? Or isnt possible?

Thank you very much

Marcelo

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to