MATLAB Answers

0

Problem with the Color Bar

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;

  댓글 수: 0

로그인 to comment.

태그

답변 수: 1

Answer by David Goodmanson on 24 Jul 2019
 Accepted Answer

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

로그인 to comment.



Translated by