How to pcolor and convert a matrix 4D to 2D?
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
Nandara de Bortoli
il 20 Mag 2019
Risposto: Walter Roberson
il 20 Mag 2019
Hello
I have a temperature matrix with the structure of longitude,latitude,depth,values of temperature. But I want select just onde depth level and plot an image 2-D, with longitude(x axis), latitude(y axis) and values of temperature.
Example of image:
:
0 Commenti
Risposta accettata
Walter Roberson
il 20 Mag 2019
slice() is the easiest way, but you can just index and squeeze() and pcolor if the depth is one of the levels exactly matching a slice.
0 Commenti
Più risposte (0)
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!