How to pcolor and convert a matrix 4D to 2D?
2 ビュー (過去 30 日間)
古いコメントを表示
Nandara de Bortoli
2019 年 5 月 20 日
回答済み: Walter Roberson
2019 年 5 月 20 日
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 件のコメント
採用された回答
Walter Roberson
2019 年 5 月 20 日
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 件のコメント
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!