Hi,

I need to add on a plot text containing italic Greek characters using the function mtext (i.e. I cannot use Hershey vectors). The characters are nicely displayed when the file is saved as png but not when saved as eps. See code below as example:

#postscript('test.eps')
png('test.png')

plot(1,1, type = 'n')
mtext(side = 3, line = 2, expression(italic('\u03bc')))

graphics.off()

Does anyone have an idea on how to solve this issue?

FYI I use R 2.10.1 for Max OS X (v. 10.6.3) but this is not an OS related issue (I have also tried with Windows).

Many many thanks in advance,

- Julia

--
Julia Uitz
Scripps Institution of Oceanography
University of California San Diego

______________________________________________
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.

Reply via email to