color as height

3 ビュー (過去 30 日間)
abcde33
abcde33 2011 年 9 月 7 日
I have a two dimensional plot of points on the plane. However, to every point there is also one real positive number assigned. One way to plot this additional information would be as a 3-dimensional plot, but I want to plot the points in the plane and to display their height as a color (for example red - high and blue - low). Does someone know how I can do that?

採用された回答

Bjorn Gustavsson
Bjorn Gustavsson 2011 年 9 月 7 日
Depending on exactly what you want you could use "scatter" or "pcolor". See the help for those to determine which fits your wishes better - or find pointers to other functions.
HTH

その他の回答 (1 件)

abcde33
abcde33 2011 年 9 月 7 日
thanks

カテゴリ

Help Center および File ExchangeScatter Plots についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by