plot - MATLAB - How to merge figure sections vertically -


i want display 3 figures in figure window.

assuming divide 2x2 regions.

subplot(2,2,1)    ---------+----------- | r1     |    r2    | ---------+----------- | r3     |    r4    | ---------+----------- 

i want show figure merging r1 , r3 ant other 2 in r2 , r4

i can display them merging r1-r2 or merging r3-r4

subplot(2,2,1:2) subplot(2,2,3:4) 

but, cannot merge them vertically.

this quite simple; feed subplot locations vector.

for instance,

x = -2*pi:0.01:2*pi; subplot(2,2,[1,3]) plot(x,sin(x)) subplot(2,2,2) plot(x,cos(x)) subplot(2,2,4) plot(x,x.^2) 

gives: enter image description here


Comments

Popular posts from this blog

javascript - gulp-nodemon - nodejs restart after file change - Error: listen EADDRINUSE events.js:85 -

Fatal Python error: Py_Initialize: unable to load the file system codec. ImportError: No module named 'encodings' -

oracle - Changing start date for system jobs related to automatic statistics collections in 11g -