I would like to have several subplots in a row in the plot. However, the evaluation of each subtask is narrow. How to adjust the compression ratio so that each subtitle becomes wider? Thank!
par(mfrow=c(1,3))
for (i in 1:3){
dest=density(out[,i])
hist(out[,i], xlim=range(dest$x),xlab=paste("x[",i,"]"),ylab="density", main="", prob=TRUE)
lines(dest,col="red")
}
source
share