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
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
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
Have you tried the following?
fs=fsurf(funx,funy,funz);
X=fs.XData;
Y=fs.YData;
Z=fs.ZData;

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

질문:

2019년 3월 15일

편집:

2026년 8월 9일 19:45

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by