how to extract coordinates from a fsurf plot?
이전 댓글 표시
Hi. I have a surface defined as a fsurf plot. How can I extract the X,Y,Z coordinates of the points of the surface?
댓글 수: 3
Adam
2019년 3월 15일
How do you want to specify them and what information do you have? Did you keep the handle to the fsurf object? Do you want to click on it or get values programmatically?
MG
2021년 3월 26일
편집: Walter Roberson
2026년 8월 9일 19:45
You can see how the x,y and z coordinates were extracted in this posted quesstion: https://www.mathworks.com/matlabcentral/answers/783766-is-there-a-way-to-adaptively-sample-2-d-surfaces?s_tid=srchtitle
Ethan Duckworth
2026년 8월 9일 19:20
Have you tried the following?
fs=fsurf(funx,funy,funz);
X=fs.XData;
Y=fs.YData;
Z=fs.ZData;
답변 (0개)
카테고리
도움말 센터 및 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!