Problem with the Color Bar
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Hans123
il 23 Lug 2019
Risposto: David Goodmanson
il 24 Lug 2019
My color bar shows solid boundaries and does not blend together. Below I have attached my problem,
![colorbar.PNG](https://www.mathworks.com/matlabcentral/answers/uploaded_files/231019/colorbar.png)
I rather want it to look like this
![colorbar.PNG](https://www.mathworks.com/matlabcentral/answers/uploaded_files/231020/colorbar.png)
Below is my code,
Let me know what is wrong
colormap(jet(10))
cb = colorbar;
0 Commenti
Risposta accettata
David Goodmanson
il 24 Lug 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 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Colormaps in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!