Here's a rough idea, calling your plot p
:
library(grid)
pushViewport(viewport(name = "rotate", angle = 20, clip = "off", width = 0.7, height = 0.7))
print(p, vp = "rotate")
You'll probably want to tailor the width
and height
to the angle and aspect ratio you want.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…