Hi John, Yes, you are right. I meant "greater-than-or-equal". According to your suggestion, I can plot the symbol only. But what I want is to have >=1, >=2 and so on as labels on xaxis. I did not make it work. Do you know how to make it? The expression("">=1"") did not work, and paste(expression("">=""), 1) did not work either.
Thanks a lot! Bingshan -----Original Message----- From: John Fox [mailto:[EMAIL PROTECTED] Sent: Sun 9/21/2008 8:38 AM To: Li, Bingshan Cc: r-help@r-project.org Subject: RE: [R] How to plot "greater than" symbol on the x-axis Dear Bingshan, It isn't entirely clear what you want to do. I think that you want the "greater-than-or-equal-to" symbol, not "greater than," but by itself or in an expression? For the first, xlab=expression("" >= ""), and for the second, e.g., xlab=expression(x >= x[min]). More generally, see ?plotmath. I hope this helps, John ------------------------------ John Fox, Professor Department of Sociology McMaster University Hamilton, Ontario, Canada web: socserv.mcmaster.ca/jfox > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On > Behalf Of Li, Bingshan > Sent: September-21-08 12:37 AM > To: r-help@r-project.org > Subject: [R] How to plot "greater than" symbol on the x-axis > > > Hello everyone, > > I want to plot a "greater than" symbol (the "_" under ">") on the x-axis in > the labels. Is it possible to do it? > > Thanks. > > Bingshan > > [[alternative HTML version deleted]] > > ______________________________________________ > 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. [[alternative HTML version deleted]] ______________________________________________ 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.