How to convert a 4*2 subplot to 2*4 subplot?

Hi guys. I have a 4*2 subplot with a graph in each space. How can I rotate/convert the subplot to 2*4 subplot? Thank you for your help!
Here is my code:
subplot(4,2,1)
plot(x1,y1)
subplot(4,2,2)
plot(x2,y2)
subplot(4,2,3)
plot(x3,y3)
subplot(4,2,4)
plot(x4,y4)
subplot(4,2,5)
plot(x5,y5)
subplot(4,2,6)
plot(x6,y6)
subplot(4,2,7)
plot(x7,y7)
subplot(4,2,8)
plot(x8,y8)

Respuestas (1)

Walter Roberson
Walter Roberson el 25 de Mzo. de 2021
subplot(2,4,1)
plot(x1,y1)
subplot(2,4,2)
plot(x2,y2)
subplot(2,4,3)
plot(x3,y3)
subplot(2,4,4)
plot(x4,y4)
subplot(2,4,5)
plot(x5,y5)
subplot(2,4,6)
plot(x6,y6)
subplot(2,4,7)
plot(x7,y7)
subplot(2,4,8)
plot(x8,y8)

Productos

Versión

R2021a

Etiquetas

Preguntada:

el 25 de Mzo. de 2021

Respondida:

el 25 de Mzo. de 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by