Logarithmic scale for colorbar
Show older comments
I sometimes require a plot which has a colorbar with a log scale. Previously I did this by setting the 'yscale' property of the underlying colorbar axes, but this no longer works with the new graphics system. Is there a workaround for the new system?
Accepted Answer
More Answers (1)
Xiaolong
on 26 Mar 2020
1 vote
set(gca,'colorscale','log')
1 Comment
Walter Roberson
on 27 Apr 2020
Note: that was not available at the time the question was originally asked.
Categories
Find more on Title 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!