Make your own color map
Post date: Aug 31, 2011 1:24:06 PM
Make your own colormap [link]
% plot the contour of the results
nValues = 128; %# The number of unique values in the colormap
map = [linspace(1,0,nValues)' linspace(1,0,nValues)' linspace(1,0,nValues)']; %'# 128-by-3 colormap
figure; imagesc(detected_contour);
colormap(map);