find an inclined plane from 3D data and plot it

9 ビュー (過去 30 日間)
Abhishek Saini
Abhishek Saini 2020 年 10 月 27 日
回答済み: Vimal Rathod 2020 年 12 月 4 日
Hi MATLAB Users,
I have 3D matrix of 501x501x501. I want to plot the data of the plane at 45 degree passing through point (x=250,y=250,z=501). How can I do this in MATLAB.
I used the slice function to plat the data for the parallel planes, but could not find the way to plot data for an inclined plane.
Not: I dont want to rotate the plane. I need the data for a plane at an angle.
Thanks

回答 (1 件)

Vimal Rathod
Vimal Rathod 2020 年 12 月 4 日
Hi,
You have to create an inclined plane surface matrix using meshgrid and then put those x,y,z values in the slice function as xslice, yslice and zslice to get the slice of the data for your set of points.
Refer to the following link for more details on the slice function:

カテゴリ

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

製品


リリース

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by