Only Outline of a 3D Plot Needed
7 ビュー (過去 30 日間)
古いコメントを表示
I have got the following 2D view of a 3D Plot. Is it possible to just get a plot of the outer line of this curve and eliminate all the inner colors and lines? I just want the outer shape. Thanks in advance.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/154308/image.png)
0 件のコメント
回答 (1 件)
KSSV
2016 年 6 月 22 日
You have to decide at what location of (x,y) you want the z values (pressure in your case). Eg:
[X,Y,Z] = peaks(26);
figure
surf(X,Y,Z);
xlabel('x')
ylabel('y')
zlabel('z')
x = unique(X) ;
y = unique(Y) ;
z = Z(13,:) ;
figure
plot(y,z,'*-k')
2 件のコメント
KSSV
2016 年 6 月 22 日
Not a deal..even after surface fitting, you have data in hand. It can be extracted.
参考
カテゴリ
Help Center および 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!