Using 3D Surface Plots
조회 수: 1 (최근 30일)
이전 댓글 표시
Say i have 3 arrays X, Y, Z full of data which correspond to the x co-ordinate, y co-ordinate and a value at that point, is it possible to plot this as a surface plot?(Co-ordinates correspond to mesh points of a 2D structure). My understanding of how they are plotted is limited and the using the help for surface() did not help.
Thanks
댓글 수: 0
채택된 답변
Star Strider
2016년 3월 10일
I don’t know what your data are. If they are matrices, use the surf or mesh functions. The scatteredInterpolant function is another option. If they are vectors, I would use plot3 or scatter3.
댓글 수: 4
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Surface and Mesh Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!