Azzera filtri
Azzera filtri

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

15 visualizzazioni (ultimi 30 giorni)
Eric
Eric il 18 Nov 2023
Modificato: DGM il 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.

Risposte (1)

Walter Roberson
Walter Roberson il 18 Nov 2023
Modificato: DGM il 18 Nov 2023

Community Treasure Hunt

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

Start Hunting!

Translated by