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.
I had the same problem. I use
ISOLatin7
encoding. The graphics looks good when I open it inSumatraPDF
, but looked as ugly as yours when I opened it inAdobe Acrobat Reader DC
.I found the solution. It's not perfect but might serve your needs. You can write your
ylab
like this:It's a little annoying to write text like that, but still better move than save graphics as png.
P. s. this method won't work for overlaping graphics' titles and legends.
Edited: More efficient way, which I found recently is to use
expression
. This command works for everything: axis names, titles and legend. For namingy
axis you simply need to write: