while working on a defect detection for painted metal surface, I had a discussion about color with the customer.

While studying the color perception, I found this: http://en.wikipedia.org/wiki/Checker_shadow_illusion

Interesting, isn’t it?

]]>Perfect follow-up to your series on the rainbow/parula.

These are nice divergent colourmaps indeed. As I’ve shown in this post (I used the Light-Bartlein colormap submission):

https://mycarta.wordpress.com/2012/03/15/a-good-divergent-color-palette-for-matlab/

these are good also for viewers with color vision dificiencies.

By the way, for CLim, in the post I included this code snippet to center the colormap at the zero, but could be adapted to a different value:

%% establish anchor to centre colormap midpoint at zero value

% calculate the difference between the signed most negative and most

% positive values in data and use both the numerical result and its sign

% to assign the colormap automatically. This will anchor the midpoint

% to the zero in the data.

M=abs(max(max(topo)));

m=abs(min(min(topo)));

if M-m>=0

clim=[-m m];

else

clim=[-M M];

end

Thanks for your interest for the animation. I have finally found out that this post is the reason for the increased interest for my video. Although very similar code has already been given by Amro and Lateef, I have included the original code to Matlab Central in the following link.

Fourier Series Animation using Circles

Thanks,

Mehmet