2

I've read a ton of post and didn't find any good answer. I have overlapping text on labs. I'm trying:

pdf(file = "office.loaded6.pdf")
plot(seq,type="l",lwd=3,xlab="Time",ylab="Загруженность")
dev.off()

well, this is actual plot, but it's no different, I still can't have normal titles for axis.

text overlaps

4

1 回答 1

1

我有同样的问题。我使用ISOLatin7编码。我打开它时图形看起来不错SumatraPDF,但打开它时看起来和你的一样丑Adobe Acrobat Reader DC

我找到了解决方案。它并不完美,但可能会满足您的需求。你可以ylab这样写:

ylab = paste("З", "а", "г", "р", "у", "ж", "е", "н", "н", "о", "с", "т", ь")

写这样的文本有点烦人,但仍然比将图形保存为 png 更好。

附言 此方法不适用于重叠图形的标题和图例。

编辑: 更有效的方法,我最近发现是使用expression. 此命令适用于所有内容:轴名称、标题和图例。对于命名y轴,您只需编写:

 ylab = expression(Загруженность)
于 2016-05-29T09:06:45.970 回答