3d plot without grid
조회 수: 15 (최근 30일)
이전 댓글 표시
To plot a 3d function z=f(x,y), Matlab 3d plot commands such as mesh(X,Y,Z) need a grid of X and Y over which Z is evaluated. What if the data to be plotted is in the form of 3-tuples:(x1, y1, z1), (x2,y2,z2), ...? Is there a function for that?
Thanks
댓글 수: 0
답변 (1개)
Star Strider
2015년 11월 24일
See if the plot3 function does what you want. Another option is scatter3.
댓글 수: 2
Star Strider
2015년 11월 25일
If you want to create a grid for scattered data, use one of the Scattered Data Interpolation functions.
참고 항목
카테고리
Help Center 및 File Exchange에서 Scatter Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!