Question

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()
Was it helpful?

Solution

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top