代码
library(ggplot2)
ggplot()+
geom_point(aes(x=1,y=1))+
theme(axis.title.x =
element_text(margin =
margin(2,1,0,1,'cm')),
axis.title.y =
element_text(margin =
margin(0,2,0,0,'cm')),
axis.text.x = element_text(margin =
margin(2,1,0,1,'cm')))
image.png
网友评论