How to Extract data from 3D implicit plot?

16 ビュー (過去 30 日間)
Aravind Kanna Kundumani Janarthanan
Aravind Kanna Kundumani Janarthanan 2019 年 6 月 10 日
コメント済み: Hannah Spece 2020 年 8 月 10 日
I would like to extract x, y and z data coordinates from this function.
My plot:
f_gy = @(x,y,z) sin(x).*cos(y) + sin(y).*cos(z) + sin(z).*cos(x);
x_gy_l = 0*pi;
x_gy_u = 6*pi;
y_gy_l = 0*pi;
y_gy_u = 6*pi;
z_gy_l = 0*pi;
z_gy_u = 6*pi;
% Mesh Density
MD_gy = 50;
% Face Color
C_gy = 'red';
p = fimplicit3(f_gy, [x_gy_l x_gy_u y_gy_l y_gy_u z_gy_l z_gy_u], 'meshdensity', MD_gy, 'facecolor', C_gy);
How can I get the data in the workspace as an array?
Thanks
  1 件のコメント
Hannah Spece
Hannah Spece 2020 年 8 月 10 日
Were you ever able to figure this out? Looking to do the same thing.

サインインしてコメントする。

回答 (1 件)

Sambit Senapati
Sambit Senapati 2019 年 6 月 14 日
Unfortunately, currently MATLAB does not support this workflow for implicit surface plot.

カテゴリ

Help Center および File ExchangeSurface and Mesh Plots についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by