Contour Plot in gray scale
25 ビュー (過去 30 日間)
古いコメントを表示
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.
0 件のコメント
採用された回答
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.
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Contour Plots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!