How can I plot a square matrix ?
Mostra commenti meno recenti
Hello,
I've got a square nxn matrix called A.
I would like the plot to show a nxn grid whose cell (i,j) has a color given by A(i,j) (like contourf but with a grid).
How can that be achieved?
Many thanks in advance for your answer.
1 Commento
Akira Agata
il 25 Ott 2017
Risposte (1)
KSSV
il 25 Ott 2017
0 voti
YOu have multiple functions for this: Read about pcolor , surf and imagesc.
Categorie
Scopri di più su Surface and Mesh Plots in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!