MATLAB Answers

Colorbar design from log negative to positive

조회 수: 7(최근 30일)
Xin 28 Oct 2017

I have a 2D matrix and the value vary exponentially between negative to positive. I want to design a colorbar that looks like below. Does anyone have idea about how to implement it. The interesting thing is that it is in log scale but the absolute minimal must be somehow truncated above 0.0001 (which is pratically green color in jet colormap).


Community Treasure Hunt

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

Start Hunting!

Translated by