フィルターのクリア

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 Center および File ExchangeSurface and Mesh Plots についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by