문제

I have a legend that contains the character Δ and I am unable to produce publication quality EPS Figures. PNG and TIFF runs fine. Is this a bug? Is there any quick workarround?

I am on Ubuntu Linux 64-bit, running 64 bit R 3.0.2

setEPS()
postscript("Figure 1.eps", horizontal = FALSE, onefile = FALSE, paper = "special")
plot(1,1)
legend("topleft", c("ΔValue"))
dev.off()


png("Figure 1.png")
plot(1,1)
legend("topleft", c("ΔValue"))
dev.off()
도움이 되었습니까?

해결책

It works if you create the delta symbol with the expression function:

plot(1,1)
legend("topleft", expression(paste(Delta, "Value")))

enter image description here

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top