Problem with the Color Bar
3 views (last 30 days)
Show older comments
Hans123
on 23 Jul 2019
Answered: David Goodmanson
on 24 Jul 2019
My color bar shows solid boundaries and does not blend together. Below I have attached my problem,
I rather want it to look like this
Below is my code,
Let me know what is wrong
colormap(jet(10))
cb = colorbar;
0 Comments
Accepted Answer
David Goodmanson
on 24 Jul 2019
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 Comments
More Answers (0)
See Also
Categories
Find more on Colormaps in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!