Info
La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.
HELP About contour command
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
My question is this, i have X and Y points, and for each coordinate there are a Z value, this is not a function, for example:
X=2 , Y=3 and Z=6.7
There are a different vectors for each coordintes, So is a anyway to represent this grafically like contour? o in the way increase de Z value change the color of the graphic?
PS: Sorry my poor english
0 comentarios
Respuestas (2)
Sean de Wolski
el 17 de Jul. de 2012
Editada: Sean de Wolski
el 17 de Jul. de 2012
You could use scatter3 to show a scatter plot of the data:
doc scatter3
Or you could interpolate your data to a regular grid using TriScatteredInterp and then use contour
doc TriScatteredInterp
0 comentarios
Alex Molina
el 17 de Jul. de 2012
1 comentario
Walter Roberson
el 17 de Jul. de 2012
pointsize = 8;
scatter3(X(:), Y(:), Z(:), pointsize, Z(:))
La pregunta está cerrada.
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!