Extract x,y data from plot
이전 댓글 표시
Hello everyone,
I have a plane passing through a cylinder, is it possible to obtain the x and y data of the cylinder on the plane or obtain the slice or cross-section (with the use of slice or contourslice)? can the x,y data be extracted by using axes handles(children)?
Any pointers/suggestions will be really helpful. Thank you

채택된 답변
추가 답변 (1개)
Azzi Abdelmalek
2014년 7월 17일
Select the cylinder then write
x=get(gco,'Xdata')
y=get(gco,'Ydata')
z=get(gco,'Zdata')
카테고리
도움말 센터 및 File Exchange에서 Labels and Annotations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!