% sets the colormap to grey, using the gray(___) command % % default is 128 levels (to leave some for other windows) function simplify_typing_long_commands_like_colormap_gray_128_or_the_like(N) % returns nothing if nargin<1 N = 128; % default end%if colormap(gray(N))