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 CenterFile Exchange에서 Colormaps에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by