Таким образом, чтобы обобщить существующее обсуждение, добавив
cex.lab=1.5, cex.axis=1.5, cex.main=1.5, cex.sub=1.5
к вашему сюжету, где 1.5 может быть 2, 3 и т. д., а значение 1 - Значение по умолчанию увеличит размер шрифта.
x <- rnorm(100)
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)
[/g2]
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)
[/g3]
Вы можете использовать substr , чтобы взять строку после /
только
const pathName= window.location.pathname.substr(1,)
console.log(pathName)