因此,總結已有的討論,增加
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