I am using expression() to incorporate text into graphics. To create a superscript, I use the '^' character. Can someone please tell me the character to use to create a subscript? Thank you ----------------------------------------------------- Christine Donnelly Statistical Consulting Unit The Graduate School John Dedman Mathematical Sciences Building (Bldg 27) Australian National University Canberra ACT 0200 room: G8 phone: (02) 6125 0562 fax: (02) 6125 5549 email: Christine.Donnelly at anu.edu.au ANU CRICOS # 00120C -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Mime-Version: 1.0
3 messages · Christine Donnelly, Marc Schwartz, John Fox
Christine Donnelly wrote:
I am using expression() to incorporate text into graphics. To
create
a superscript, I use the '^' character. Can someone please tell me the character to use to create a subscript? Thank you ----------------------------------------------------- Christine Donnelly
Take a look at ?plotmath I believe you will find that 'x[i]' will yield x subscript i. HTH, Marc -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Dear Christine, You can use square brackets, as in expression(x[i]). See ?plotmath for details and examples. I hope that this helps, John
At 12:31 PM 11/28/2002 +1100, Christine Donnelly wrote:
I am using expression() to incorporate text into graphics. To create a superscript, I use the '^' character. Can someone please tell me the character to use to create a subscript?
----------------------------------------------------- John Fox Department of Sociology McMaster University Hamilton, Ontario, Canada L8S 4M4 email: jfox at mcmaster.ca phone: 905-525-9140x23604 web: www.socsci.mcmaster.ca/jfox ----------------------------------------------------- -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._