Problem with the Color Bar

2 ビュー (過去 30 日間)
Hans123
Hans123 2019 年 7 月 23 日
回答済み: David Goodmanson 2019 年 7 月 24 日
My color bar shows solid boundaries and does not blend together. Below I have attached my problem,
colorbar.PNG
I rather want it to look like this
colorbar.PNG
Below is my code,
Let me know what is wrong
colormap(jet(10))
cb = colorbar;

採用された回答

David Goodmanson
David Goodmanson 2019 年 7 月 24 日
Hi Hans,
try
colormap(jet)
colorbar
by default this has 64 color levels (as does the default colormap, 'parula') and looks much more continuous.

その他の回答 (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