% GUImycolmap
% Function for the MODIS GUI
% Copyright by Jasmine S Nahorniak, Oregon State University.
% March 28 2000

function [mycolmap]=GUImycolmap(landcol,maskcol,colmap,numcol);

% colormap
mycolormap(1,:)=GUIcol2num(landcol);   % land color
mycolormap(2,:)=GUIcol2num(maskcol);  % mask color
mycolormap(3:52,:)=eval([colmap '(' num2str(numcol) ')']);
