how can I extract 2D matrices for xy, xz, yz planes from a 3D matrix and use the pcolor function?
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I have a 3D matrix of a specific variable extracted from a netCDF file. I extract matrices for each space plane,but when I used pcolor function for each 2D matrices, it gave me error.
0 commentaires
Réponse acceptée
Plus de réponses (1)
Image Analyst
le 20 Oct 2021
Try imshow() instead of pcolor. pcolor() doesn't even show you the last row or column so that's why I don't like pcolor().
imshow(variable_xy, []);
0 commentaires
Voir également
Catégories
En savoir plus sur Mapping Toolbox dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!