Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
HELP About contour command
조회 수: 3 (최근 30일)
이전 댓글 표시
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
답변 (2개)
Sean de Wolski
2012년 7월 17일
편집: Sean de Wolski
2012년 7월 17일
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
Alex Molina
2012년 7월 17일
댓글 수: 1
Walter Roberson
2012년 7월 17일
pointsize = 8;
scatter3(X(:), Y(:), Z(:), pointsize, Z(:))
이 질문은 마감되었습니다.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!