Re: [R] Add encoded special characters (greek characters) as text to plot

2014-12-20 Thread Jeff Newmiller
lution.. > > >On Thu, 12/18/14, Chel Hee Lee wrote: > >Subject: Re: [R] Add encoded special characters (greek characters) as >text to plot >To: "Jeff Newmiller" , "heyi xiao" >, "heyi xiao via R-help" > Date: Thursday, December 18, 2014, 3

Re: [R] Add encoded special characters (greek characters) as text to plot

2014-12-20 Thread heyi xiao via R-help
Thank you all for the input. That helps, although I haven’t get the exact solution.. On Thu, 12/18/14, Chel Hee Lee wrote: Subject: Re: [R] Add encoded special characters (greek characters) as text to plot To: "Jeff Newmiller" ,

Re: [R] Add encoded special characters (greek characters) as text to plot

2014-12-18 Thread Chel Hee Lee
Why don't you try this approach if you cannot use 'expression()'? > x <- c("alpha", "beta", "gamma", "delta") > plot(0, type="n") > for(i in 1:length(x)) text(x=1, y=i/10, labels=parse(text=x[i])) Please see the output in R. Is this what you are looking for? I hope this helps. I would also a

Re: [R] Add encoded special characters (greek characters) as text to plot

2014-12-18 Thread Jeff Newmiller
Read the posting guide. The solution is likely to depend on your operating system and graphics devices. --- Jeff NewmillerThe . . Go Live... DCN:Basics: ##.#. ##.#. Liv

Re: [R] Add encoded special characters (greek characters) as text to plot

2014-12-18 Thread Prof Brian Ripley
On 18/12/2014 16:59, heyi xiao via R-help wrote: anybody has any hint on this? Yes, ?plotmath does. But you will need to know what encoding this is (and hence what Unicode points are meant by \246 and \302). If this really were Greek, common encodings are UTF-8, CP1253 and ISO 8859-7; howev

Re: [R] Add encoded special characters (greek characters) as text to plot

2014-12-18 Thread heyi xiao via R-help
anybody has any hint on this? Subject: Add encoded special characters (greek characters) as text to plot To: r-help@r-project.org Date: Wednesday, December 17, 2014, 9:25 PM Dear all, I read my a character matrix from a text file. Some of them