0
我必須使用佈局,以適應4個圖像在一個情節。如何在R中設計佈局?
Ist : 1 image
IInd : 3 images
layout(matrix(c(1,1,2,3), 2, 2, byrow = TRUE))
plot(x, y)
hist(x,y)
plot(x*x,y*y)
plot(sqrt(x),sqrt(y))
但輸出圖像不是預期的。我怎樣才能解決這個問題?
我希望圖像如下所示。