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!