How do I use a log scale for my colorbar in imagesc?
Show older comments
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.
Answers (1)
Walter Roberson
on 18 Nov 2023
Edited: DGM
on 18 Nov 2023
0 votes
It cannot be done at the imagesc call
Categories
Find more on Colorbar 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!