MESHGRID and Contour
Afficher commentaires plus anciens
Hello,
I have 3 vectors x,y,z; with x and y representing co-ordinates and z their values, which are temperatures assigned to the 13 points. Basically what i want to do is create a sort of 'heatmap' that will display temperatures on a 2 dimensional plot that corresponds to the correct x and y coordinates. Here is what I did and where I got stuck:
[x1,y1] = meshgrid(x,y)
Now the problem is how do i get the z into a correct 13*13 matrix to use contour(x1,y1,z)?
Any help would be appreciated.
J
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Contour Plots dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!