필터 지우기
필터 지우기

Plotting the equation of a plane

조회 수: 10 (최근 30일)
Nishant Nain
Nishant Nain 2011년 10월 5일
How do I plot the equation of the given plane after finding the system of equations to determine c1,c2,c3- c1(x) + c2(y) + c3 = z, c1,c2, and c3 are constants. I solved the system of equations and got c1,c2,c3. How do I plot the equation for 3 given points (x1,y1,z1), (x2,y2,z2), (x3,y3,z3)? Can't figure out how to use Plot3 command on this one :/

답변 (2개)

Fangjun Jiang
Fangjun Jiang 2011년 10월 6일
patch([x1,x2,x3],[y1,y2,y3],[z1,z2,z3],'green');
view(3);

Walter Roberson
Walter Roberson 2011년 10월 6일
You cannot draw planes in MATLAB. Planes are infinitely thin entities that extend infinitely in two directions. MATLAB cannot draw anything thinner than a single pixel, and cannot draw anything infinite.
If you want to draw a portion of a plane, consider using patch()

카테고리

Help CenterFile Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by