필터 지우기
필터 지우기

3-D plot

조회 수: 1 (최근 30일)
Anshul Jain
Anshul Jain 2021년 12월 17일
댓글: Walter Roberson 2021년 12월 17일
Dear Sir,
A pdf file is attached herewith, in which two figures are there (fig.(a) and fig.(b)). Fig.(a) is plotted by me and fig.(b) I have taken from one reference paper.
Both figures are plotted by considering three parameters. The basic difference between two plots lies in the connections of the points. In Fig(b), points are connected in rectangular pattern but in my case, points are getting connected in triangular pattern. I want to plot my figure (fig.(a)) also in rectangular pattern just like fig.(b)).
The command I am using is:
plot3(a,b,c,'.');
kkk=boundary(a,b,c);
trisurf(kkk,a,b,c,'Facecolor','interp');
Kindly help me in this regard.
Thanks in advance,
Anshul Jain
  댓글 수: 1
Walter Roberson
Walter Roberson 2021년 12월 17일
The problem is that boundary() is defined to return a triangulation. And the triangulation is obviously not very close to what you hoped for.
Have you experimented with different s parameter values for boundary() to see if that gets you a more pleasing triangulation?

댓글을 달려면 로그인하십시오.

답변 (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