フィルターのクリア

Creating a transparent closed 3D surface plot from (x,y,z) scatter data points

16 ビュー (過去 30 日間)
Satyajit Ghosh
Satyajit Ghosh 2022 年 1 月 19 日
コメント済み: Satyajit Ghosh 2022 年 1 月 19 日
I have a set of (x,y,z) data points (file attached). I can use scatter3 to plot 3d scatter plot.
d1=load('Scatter_data_x_y_z.txt');
scatter3(d1(:,1),d1(:,2),d1(:,3),'.y')
It is a closed surface and it is prolate spheroid. I want to draw a transparent closed surface instead of 3D scatter plot. How do I do that? Typical scatter3 plot of two such prolated spheriod is given below.
Actually, the surface in blue is a spindle toroid.

回答 (1 件)

KSSV
KSSV 2022 年 1 月 19 日
d1=load('Scatter_data_x_y_z.txt');
shp = alphaShape(d1) ;
plot(shp)
  1 件のコメント
Satyajit Ghosh
Satyajit Ghosh 2022 年 1 月 19 日
Thanks for your your answer. But, how do I make it transparent?

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

カテゴリ

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

製品


リリース

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by