function reverse_color(H)

% reverse_color(HANDLES) reverses the Color vector of each one of the
%   HANDLES.  All color indices are currently assumed to be in the 0:1
%   range.
%
% Note: known to work under Matlab 5.1; may break under version 4.

for i = H(:)'
  set(i, 'Color', 1-get(i, 'Color'));
end
