image - how to design layout in R ? -


i have use layout fit 4 image in 1 plot.

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)) 

but output image not expected. how can fix this?

i expect image shown below. enter image description here

here required code question:

layout(matrix(c(1,1,1,2,3,4), 2, 3, byrow = true)) 

what first image occupies whole first row denoted 1 , second, third , fourth images occupies 1st, 2nd , 3rd columns of second row respectively. total 6 cells in matrix there (2*3, 2 rows , 3 columns).


Comments

Popular posts from this blog

java - How to Configure JAXRS and Spring With Annotations -

visual studio - TFS will not accept changes I've made to a Java project -

php - Create image in codeigniter on the fly -