How to change the plot on the matrix?

1 visualización (últimos 30 días)
HelpAStudent
HelpAStudent el 6 de Oct. de 2021
Respondida: David Hill el 6 de Oct. de 2021
I have a matrix 6x21, when I plot
figure; plot(matrix);hold on
This makes a plot with 21 curves, just like this:
But I want the contrary, how can I have just 7 curves (one for each rows)?

Respuesta aceptada

David Hill
David Hill el 6 de Oct. de 2021
plot(matrix');

Más respuestas (0)

Categorías

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

Etiquetas

Productos


Versión

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by