Is it possible to create a colorbar using the pcolor o imagesc functions where the values in the colorbar increase not following a linear progression? I mean, if I have for instance a chlorophyll concentration image and I have its values clustered between 0-1, 1-10 and 10-100, I would like to have the colorbar going from 0 to 1, then from 1 to 10 and finally from 10 to 100 (rather than having a normal one going from 1 to 100 that wouldn't allow to notice differences for concentrations relatively close).
Any suggestions on my previous post? Thank you very much?:
Dear all
Is it possible to create a colorbar using the pcolor or imagesc functions where the values in the colorbar increase not following a linear progression? I mean, if I have for instance a chlorophyll concentration image and I have its values clustered between 0-1, 1-10 and 10-100, I would like to have the colorbar going from 0 to 1, then from 1 to 10 and finally from 10 to 100 (rather than having a normal one going from 1 to 100 that wouldn't allow to notice differences for concentrations relatively close).
juckou <ja79@hw.ac.uk> wrote in message <15340185.1228178968315.JavaMail.jakarta@nitrogen.mathforum.org>...
> Any suggestions on my previous post? Thank you very much?:
>
> Dear all
>
> Is it possible to create a colorbar using the pcolor or imagesc functions where the values in the colorbar increase not following a linear progression? I mean, if I have for instance a chlorophyll concentration image and I have its values clustered between 0-1, 1-10 and 10-100, I would like to have the colorbar going from 0 to 1, then from 1 to 10 and finally from 10 to 100 (rather than having a normal one going from 1 to 100 that wouldn't allow to notice differences for concentrations relatively close).
>
> Thanks in advance
>
> juckou
I would take the logarithm of the concentration and use this as the color scheme.
NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for
all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content.
Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available
via MATLAB Central.
Read the complete Terms prior to use.