我知道text函数中有str参数;如果我也能够绘制镜像字母/字符串,那就太好了......有什么想法吗?
最佳答案
你可以使用 grImport,但它相当复杂
library(grImport)
cat("%!PS
/Times-Roman findfont
100 scalefont
setfont
newpath
0 0 moveto
-1 1 scale
(hello) show", file="hello.ps")
PostScriptTrace("hello.ps", "hello.xml")
hello <- readPicture("hello.xml")
grid.newpage()
grid.picture(hello)
关于r - 是否可以在 R 中绘制镜像翻转的文本?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26086985/