Using 3D Surface Plots

1 回表示 (過去 30 日間)
Waseem Aldeek
Waseem Aldeek 2016 年 3 月 10 日
コメント済み: Star Strider 2016 年 3 月 29 日
Say i have 3 arrays X, Y, Z full of data which correspond to the x co-ordinate, y co-ordinate and a value at that point, is it possible to plot this as a surface plot?(Co-ordinates correspond to mesh points of a 2D structure). My understanding of how they are plotted is limited and the using the help for surface() did not help.
Thanks

採用された回答

Star Strider
Star Strider 2016 年 3 月 10 日
I don’t know what your data are. If they are matrices, use the surf or mesh functions. The scatteredInterpolant function is another option. If they are vectors, I would use plot3 or scatter3.
  4 件のコメント
Waseem Aldeek
Waseem Aldeek 2016 年 3 月 29 日
Thanks alot for your help, much appreciated!
Star Strider
Star Strider 2016 年 3 月 29 日
My pleasure!

サインインしてコメントする。

その他の回答 (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