因此,总结已有的讨论,增加
cex.lab=1.5, cex.axis=1.5, cex.main=1.5, cex.sub=1.5
你的情节,其中1.5可能是2,3等,以及1的值是默认会增加字体大小。
x <- rnorm(100)
CEX不会改变的东西
hist(x, xlim=range(x),
xlab= "Variable Lable", ylab="density", main="Title of plot", prob=TRUE)
hist(x, xlim=range(x),
xlab= "Variable Lable", ylab="density", main="Title of plot", prob=TRUE,
cex=1.5)
添加cex.lab = 1.5,cex.axis = 1.5,cex.main = 1.5,cex.sub = 1.5
hist(x, xlim=range(x),
xlab= "Variable Lable", ylab="density", main="Title of plot", prob=TRUE,
cex.lab=1.5, cex.axis=1.5, cex.main=1.5, cex.sub=1.5)
[如何更改R图的标签大小]的可能重复(https://stackoverflow.com/questions/13046323/how-to-change-the-label-size-of-an-r-plot ) – 2017-06-01 08:47:26