Creating a meshplot with only x, y and z vectors (not matrices)

13 ビュー (過去 30 日間)
charles atlas
charles atlas 2012 年 6 月 13 日
I have a bunch of points that correspond to random points on the x y plane. I have heights that correspond to heights of those points in an array that is the same size of the x and y arrays I have. I want to create a meshplot of these points so I can see at those locations how high the ground comes up or down. I can not figure out how to do this though becasue the Z array has to be a matrix according to mesh and surf. Does anyone know how to create a meshplot this way?

採用された回答

Walter Roberson
Walter Roberson 2012 年 6 月 13 日
MATLAB does not offer mesh plots for scattered data, not directly.
See griddata(), trimesh(), TriScatteredInterp()

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