I have a matrix where 1st column is x, second y and third z
I'm trying to plot a surface with z coordinate to be the color. can anyone help me?
thank you in advance George

 採用された回答

Image Analyst
Image Analyst 2014 年 5 月 30 日

0 投票

Try griddedInterpolant() to make a solid array of z values at all x and y locations. Then use surf(), colormap(), and colorbar().

その他の回答 (1 件)

Sara
Sara 2014 年 5 月 30 日

0 投票

You can use
pcolor

カテゴリ

ヘルプ センター および File ExchangeColor and Styling についてさらに検索

タグ

質問済み:

2014 年 5 月 30 日

回答済み:

2014 年 5 月 30 日

Community Treasure Hunt

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

Start Hunting!

Translated by