Hi all, I want the y-axis label to be ( in symbols) g(sigma given alpha) where given is the conditional sign. I've tried ylab=expression(g(sigma|alpha))) but it gave me g(|(sigma,alpha)) where the sigma and alpha are in greek but the conditional sign is misplaced (before the bracket) Any help would be appreciated. Maram. [[alternative HTML version deleted]]
Hi Maram, How about this? plot(1, ylab = expression(sigma*"|"*alpha)) HTH, Jorge On Wed, Oct 14, 2009 at 11:12 AM, maram salem <> wrote:> Hi all, > I want the y-axis label to be ( in symbols) > g(sigma given alpha) > where given is the conditional sign. > I've tried > ylab=expression(g(sigma|alpha))) > but it gave me > g(|(sigma,alpha)) > where the sigma and alpha are in greek but the conditional sign is > misplaced (before the bracket) > Any help would be appreciated. > Maram. > > > > > [[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]]
Try this: plot(0, main = ~ g(sigma * "|" * alpha)) On Wed, Oct 14, 2009 at 11:12 AM, maram salem <marammagdysalem at yahoo.com> wrote:> Hi all, > I want the y-axis label to be ( in symbols) > g(sigma given alpha) > where given is the conditional sign. > I've tried > ylab=expression(g(sigma|alpha))) > but it gave me > g(|(sigma,alpha)) > where the sigma and alpha are in greek but the conditional sign is misplaced (before the bracket) > Any help would be appreciated. > Maram. > > > > > ? ? ? ?[[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. >
Apparently Analagous Threads
- Strange behavior when using progress bar (Fwd: Re: [R] The code itself disappears after starting to execute the for loop)
- The code itself disappears after starting to execute the for loop
- The code itself disappears after starting to execute the for loop
- solving a linear equation
- Hist & kernel density estimates