How can i plot a colormap (2d)

3 ビュー (過去 30 日間)
ionas
ionas 2014 年 5 月 30 日
回答済み: Image Analyst 2014 年 5 月 30 日
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 日
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 日
You can use
pcolor

カテゴリ

Help Center および File ExchangeColor and Styling についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by