フィルターのクリア

how to show more color and range in color bar ?

9 ビュー (過去 30 日間)
Akim Mahmud
Akim Mahmud 2018 年 1 月 8 日
コメント済み: Walter Roberson 2018 年 1 月 9 日
Hi I have this image ( please see the attached ) and I want to show more color and range ( value) in my color map. How can I do that ? Thanks for your code/help
-Akim
  1 件のコメント
Akim Mahmud
Akim Mahmud 2018 年 1 月 8 日
OPPS i forgot to attach the image

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

採用された回答

Walter Roberson
Walter Roberson 2018 年 1 月 8 日
The default colormap has only 64 entries. You can get finer granularity by calling
cmap = parula(256); %calculate parula colormap with 256 entries
colormap(cmap); %activate given colormap
But this might not help, depending how you created the plot. I suspect you might have done something like a scatter() followed by a caxis() ?
  6 件のコメント
Akim Mahmud
Akim Mahmud 2018 年 1 月 9 日
Hi I did it but still it does not show more depth ranges in color bar
Walter Roberson
Walter Roberson 2018 年 1 月 9 日
Can you attach the .txt file? You may need to zip it to be able to attach it.

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

その他の回答 (0 件)

カテゴリ

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

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by