MESHGRID and Contour
Mostrar comentarios más antiguos
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
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Contour Plots en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!