Contour Plot in gray scale

38 ビュー (過去 30 日間)
Namira
Namira 2018 年 5 月 23 日
コメント済み: Namira 2018 年 5 月 23 日
I would like to plot this contour figure in grayscale. I would like to represent higher values in dark shades. Can anyone give me the command to plot this figure? Thanks.

採用された回答

Walter Roberson
Walter Roberson 2018 年 5 月 23 日
編集済み: Walter Roberson 2018 年 5 月 23 日
colormap( flipud(gray(256)) )
gray(256) would normally be brighter for higher values, so you reverse the order of the colors to get darker for higher values.
  1 件のコメント
Namira
Namira 2018 年 5 月 23 日
Thanks. It's working.

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

その他の回答 (0 件)

カテゴリ

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

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by