Plotting Values on specific x-y coordinates

30 visualizaciones (últimos 30 días)
Sharif Khalil
Sharif Khalil el 18 de Jul. de 2018
Respondida: Afshin Aghayan el 8 de Oct. de 2019
I have X (181X361), Y(181X361), Values(181X361), I would like to plot the values on each X and Y with colors indicating the values in a 2D-plane. I do not know what to choose and how to implement, plot, colormap,....

Respuesta aceptada

Aquatris
Aquatris el 18 de Jul. de 2018
Editada: Aquatris el 18 de Jul. de 2018
I think you are asking for contour or contourf functions. Usage is simple;
contour(X,Y,Z)
or
contourf(X,Y,Z)

Más respuestas (1)

Afshin Aghayan
Afshin Aghayan el 8 de Oct. de 2019
you can use this code for displaying any data in the form of [x, y, f(x,y)] or data with coordinate

Categorías

Más información sobre Contour Plots en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by