Plane Perpendicualr to an axis

2 Ansichten (letzte 30 Tage)
Manuel Ferreira
Manuel Ferreira am 21 Dez. 2020
Beantwortet: Shraddha Jain am 24 Dez. 2020
Hey, how do I plot plane ortogonal to an an axis, in a 3D system.
For example, a plane that is defined by .
  4 Kommentare
James Tursa
James Tursa am 21 Dez. 2020
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 am 21 Dez. 2020
I want to graph a plane on top of that plot

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Shraddha Jain
Shraddha Jain am 24 Dez. 2020
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!

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by