フィルターのクリア

Plotting a 3D surface plot from scatter plot

39 ビュー (過去 30 日間)
vauntedmango
vauntedmango 2024 年 6 月 26 日 13:03
回答済み: Akira Agata 2024 年 6 月 27 日 3:29
I currently have noise data measured for all combinations of 3 different variables (X axis ranging from 20 to 400 with 20 increment, Y axis with 4097 values representing frequency from 0 to 22000, and Z axis with 5 values representing flow speed from 20 to 60 with 10 increment). As you can see from the first image, I have managed to plot the scatter plot for this:
However, I would now like to create a 3D surface plot that only encapsulates the values that are higher than 3 (or red regions in the plot above). It is difficult to explain in writing how I am visualising this plot, I hope the following image can help with that:
Although I've drawn lines, I want a 3D surface around those lines going across the 5 different flow speeds. I hope this makes sense.
The data is stored in a table with 4 columns (representing X, Y, Z and noise data), and hence corresponding to 409700 rows for each combination of the three variables.
  1 件のコメント
Adam Danz
Adam Danz 2024 年 6 月 26 日 13:28
Here are some starting points

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

採用された回答

Akira Agata
Akira Agata 2024 年 6 月 27 日 3:29
I would recommend the following step:
Step1. Create mesh grid by using meshgrid function
Step2. Interpolate the original data to the grid point by using griddata function
Step3. Visualize the 3D surface (e.g value = 3) by using isosurface function

その他の回答 (0 件)

カテゴリ

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