I have 10 time series, I want to draw their graphs, and then combine them (so that there are 5 rows and 2 columns). so that the name doesn’t have on the axis y, but it is on the top of the graph and each graph has a grid.
did it but it doesn't work
layout(matrix(c(1,2,3,4,5,6), 3, 2, byrow = TRUE))
plot(CPI, xlab ="data",main="Scatterplot of wt vs. mpg")
plot(industry_prod, main="Scatterplot of wt vs disp")
plot(m2, main="Scatterplot of wt vs. mpg")
plot(interbank_rate, main="Scatterplot of wt vs disp")
plot(ex_rate, main="Scatterplot of wt vs. mpg")
plot(unempl_rate, main="Scatterplot of wt vs disp")
grid()