I am confused. What is the right way to increase font size of text in the title, labels and other places of a plot?
For example
x <- rnorm(100)
hist(x, xlim=range(x), xlab= "Variable Label",
ylab="density", main="Title of plot", prob=TRUE, ps=30)
The ps
argument does not change font size (but it says in R Help for ?par
that it is for "the point size of text (but not symbols)".
Also is it possible to separate changing the font size from the plotting function such as hist
?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…