Re: [R] Including a tilde in a plotmath-type call

2008-05-30 Thread Prof Brian Ripley
I think what you are asking for is not a tilde. That is a raised symbol (an accent), and not as in TeX's $\sim$ . It is character 126 in the Adobe Symbol encoding (Adobe's name is '\similar'), so one way is expression(X*symbol(\176)*N(mu, sigma^2)) There are others, and in most

Re: [R] Including a tilde in a plotmath-type call

2008-05-30 Thread Patrick Connolly
On Thu, 29-May-2008 at 11:25PM -0400, Charilaos Skiadas wrote: On May 29, 2008, at 11:02 PM, [EMAIL PROTECTED] wrote: Suppose I have a plot plot(1:10, pch = ) And I want some text to indicate a Normal distrubition. I could do this: text(5, 6, substitute(XN(mu, sigma^2)), adj = 0)

Re: [R] Including a tilde in a plotmath-type call

2008-05-30 Thread Patrick Connolly
On Fri, 30-May-2008 at 07:29AM +0100, Prof Brian Ripley wrote: I think what you are asking for is not a tilde. That is a raised symbol (an accent), and not as in TeX's $\sim$ . It is character 126 in the Adobe Symbol encoding (Adobe's name is '\similar'), so one way is

Re: [R] Including a tilde in a plotmath-type call

2008-05-29 Thread Charilaos Skiadas
On May 29, 2008, at 11:02 PM, [EMAIL PROTECTED] wrote: Suppose I have a plot plot(1:10, pch = ) And I want some text to indicate a Normal distrubition. I could do this: text(5, 6, substitute(XN(mu, sigma^2)), adj = 0) text(5.35, 6, ~, adj = 0) But that's clumsy, and depending on your