Effacer les filtres
Effacer les filtres

How do I use a log scale for my colorbar in imagesc?

15 vues (au cours des 30 derniers jours)
Eric
Eric le 18 Nov 2023
Modifié(e) : DGM le 18 Nov 2023
imagesc(lonedges, latedges, bincounts); colorbar(); title('Bin Test'); set(gca, 'YDir', 'normal')
Is there a way for me to make this colorbar() log scaled instead of linearly scaled? I would prefer if it was done in imagesc instead of using a separate function, but either way works.

Réponses (1)

Walter Roberson
Walter Roberson le 18 Nov 2023
Modifié(e) : DGM le 18 Nov 2023

Community Treasure Hunt

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

Start Hunting!

Translated by