Plane Perpendicualr to an axis

1 次查看(过去 30 天)
Hey, how do I plot plane ortogonal to an an axis, in a 3D system.
For example, a plane that is defined by .
  4 个评论
James Tursa
James Tursa 2020-12-21
You want to graph a 3D plane superimposed on top of another image/plot? Take a slice of that plane through the other image/plot? Or ...?
Manuel Ferreira
Manuel Ferreira 2020-12-21
I want to graph a plane on top of that plot

请先登录,再进行评论。

采纳的回答

Shraddha Jain
Shraddha Jain 2020-12-24
Hi Manuel,
Given below is a sample code to plot a plane in 3-D defined at ,
[y z] = meshgrid(-1:0.1:1);
x = 3/2*ones(size(y));
surf(x,y,z)
You may superimpose this plane onto any other surface plot using hold on. To adjust the transparency of the plane appropriately set the alpha value after the surf command. Hope this helps!

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Surface and Mesh Plots 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by