rotating the plot axis

5 visualizaciones (últimos 30 días)
Arun Gowda
Arun Gowda el 28 de Sept. de 2021
Comentada: Star Strider el 28 de Sept. de 2021
if we plot the below values will get like attached pic.
how to rotate the axis ? help me
-0.0872 -0.0865 0.0839 -0.0696
-0.0798 -0.0273 -0.0449 0.0799
-0.0608 0.0644 -0.0540 -0.0690
-0.0328 0.0795 0.0809 0.0398

Respuesta aceptada

Star Strider
Star Strider el 28 de Sept. de 2021
I am not certain what you intend by ‘rotate the axis’. It is a(4x4) matrix, so if you want to plot the transpose, just plot the transpose —
M = [-0.0872 -0.0865 0.0839 -0.0696
-0.0798 -0.0273 -0.0449 0.0799
-0.0608 0.0644 -0.0540 -0.0690
-0.0328 0.0795 0.0809 0.0398];
figure
plot(M)
grid
title('Original')
figure
plot(M.')
grid
title('Transposed')
.
  4 comentarios
Arun Gowda
Arun Gowda el 28 de Sept. de 2021
thank you
Star Strider
Star Strider el 28 de Sept. de 2021
As always, my pleasure!
.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre 2-D and 3-D Plots en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by