How can I change the units of the colorbar? The image has units in the logarithm scale. I would like to show the tick labels of the colorbar in the linear scale.
The tick labels in the colorbar display show (-1.5, -1, -0.5, 0, 0.5, 1). I would like to chage them to the linear scale, (0.03,0.10,0.32,1.00,3.16,10.00).
Is thre a way to do that without affecting the interval of the image? I have tried with c. Limits = [10^(-1.6) 10^(1.2)]. It does the job on chaging the scale bar, but also changes the image to the linear scale. I don't mind to write it manually, but how to do it?.
I also tried as in the example colorbar doc, but returns : Index exceeds matrix dimensions.
Here is the code for the image:
c = colorbar('location', 'SouthOutside');
xlabel('Lateral length (mm)')
Thanks in advance