I would like to add the greek letter mu to replace u in my title shown below. main="R=[0.001uM]:A=[750uM]" i tried using main=expression(R=[0.001~mu~M]:A=[750~mu~M]) but this is not working at the moment. any help is appreciated thanks in advance [[alternative HTML version deleted]]
gina patel wrote:> I would like to add the greek letter mu to replace u in my title shown below. > > main="R=[0.001uM]:A=[750uM]" > > i tried using main=expression(R=[0.001~mu~M]:A=[750~mu~M])plot(1:3, main=expression(paste("R=[0.001~",mu,"~M]:A=[750~",mu,"~M]"))) Ciao, domenico> but this is not working at the moment. > > any help is appreciated > > thanks in advance > > > > > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at 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. > >
Try this (or replace selected occurrences of * with ~ to get spaces instead of juxtaposition): plot(1:3, main = ~ "R=[" * 0.001 * mu * Mu * "]:A=[" * 750 * mu * Mu * "]") On Wed, Feb 18, 2009 at 3:56 PM, gina patel <ginapatel1981 at yahoo.com> wrote:> I would like to add the greek letter mu to replace u in my title shown below. > > main="R=[0.001uM]:A=[750uM]" > > i tried using main=expression(R=[0.001~mu~M]:A=[750~mu~M]) > > but this is not working at the moment. > > any help is appreciated > > thanks in advance > > > > > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at 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. >