谷歌到的如何将ggplot2的坐标轴设置为内向的代码
设置主题
gg +annotate(“text”,x=5500,y=33.35,label=c("(b) DEM"),hjust=“center”,size=6,family=“serif”,vjust=“center”)+
theme(text = element_text(size = 16, face = “bold”, family=“serif”),
axis.ticks.length=unit(-0.1, “cm”),
axis.text.x = element_text(margin=unit(c(0.2,0.2,0.2,0.2), “cm”)),
axis.text.y = element_text(margin=unit(c(0.2,0.2,0.2,0.2), “cm”))
)
|
请发表评论