Displaying 1 result from an estimated 1 matches for "temp_pdf".
Did you mean:
temp_ff
2011 Jan 26
0
Greek letters in CairoPDF
Hello there,
Straight to the point: it seems that CairoPDF from package "Cairo"
cannot handle greek letters from expression(). For example,
> eta = seq(from=-pi, to=pi, length=100)
> f = sin(eta)^2
> pdf(file = "temp_pdf.pdf")
> plot(eta, f, type="l", main=expression(f(eta)==sin(eta)^2), xlab=expression(eta), ylab=expression(f(eta)))
> dev.off()
gives the expected result, but
> require("Cairo")
> CairoPDF(file = "temp_CairoPDF.pdf")
> plot(eta, f, type="l&quo...