Plane Perpendicualr to an axis

조회 수: 2 (최근 30일)
Manuel Ferreira
Manuel Ferreira 2020년 12월 21일
답변: Shraddha Jain 2020년 12월 24일
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