Hey, how do I plot plane ortogonal to an an axis, in a 3D system.
For example, a plane that is defined by .

4 comentarios

James Tursa
James Tursa el 21 de Dic. de 2020
Not sure what you mean by "get a plane". The equation you have written, x = 3/2, defines a 3D plane that is orthogonal to the x-axis. What else do you need? What are you doing with this downstream in your code?
Manuel Ferreira
Manuel Ferreira el 21 de Dic. de 2020
basically this is what I want to do. Hope I made it clearer.
James Tursa
James Tursa el 21 de Dic. de 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 el 21 de Dic. de 2020
I want to graph a plane on top of that plot

Iniciar sesión para comentar.

 Respuesta aceptada

Shraddha Jain
Shraddha Jain el 24 de Dic. de 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!

Más respuestas (0)

Etiquetas

Preguntada:

el 21 de Dic. de 2020

Respondida:

el 24 de Dic. de 2020

Community Treasure Hunt

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

Start Hunting!

Translated by