How to remove colorbar and heatmap black borders?
Mostra commenti meno recenti
I need to remove colorabar and heatmap blck borders. Any idea?
Risposta accettata
Più risposte (2)
Yue
il 2 Mar 2022
1 voto
h.GridVisible = 'off';
This will work to remove black borders.
1 Commento
Benjamin Kraus
il 2 Mar 2022
Thank you for reminding me about that. I've updated my answer above to reflect that you can set the GridVisible property. You can also use the grid command:
grid off
Sophia Snipes
il 3 Ago 2022
For removing the black border of the colobar:
set(colorbar, 'Color', 'none')
Categorie
Scopri di più su Data Distribution Plots in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!