function colour_LUT = setColourCodes;

%
% colour_LUT = setColourCodes;
%
% set the RGB values. The colours are a combination of standard Matlab
% settings, HTML definitions and ones I made up. A total of 19 different
% colours are created that are duplicated if the number of satellites
% plotted exceed 19.
%
% Stuart Riley 9/4/2001
% Copyright 2001 Trimble
% 
%

% R
colour_LUT(1,1) = 0;    % Blue
colour_LUT(2,1) = 255;  % Red
colour_LUT(3,1) = 255;  % Magenta / HTML 4.01 fuschia
colour_LUT(4,1) = 0;    % Green / HTML 4.01 lime
colour_LUT(5,1) = 0;    % Cyan / HTML 4.01 aqua
colour_LUT(6,1) = 0;    % Black
colour_LUT(7,1) = 255;  % Yellow
colour_LUT(8,1) = 0;    % HTML 4.01 Teal
colour_LUT(9,1) = 0;    % HTML 4.01 Green
colour_LUT(10,1) = 128;  % HTML 4.01 Maroon
colour_LUT(11,1) = 0;    % HTML 4.01 Navy
colour_LUT(12,1) = 128;  % HTML 4.01 Olive
colour_LUT(13,1) = 128;  % HTML 4.01 Purple
colour_LUT(14,1) = 255;  % Horrible salmon (my creation)
colour_LUT(15,1) = 192;  % HTML 4.01 Silver
colour_LUT(16,1) = 128;  % HTML 4.01 Gray
colour_LUT(17,1) = 128;  
colour_LUT(18,1) = 128; 
colour_LUT(19,1) = 128;

% G
colour_LUT(1,2) = 0;    % Blue
colour_LUT(2,2) = 0;    % Red
colour_LUT(3,2) = 0;    % Magenta / HTML 4.01 fuschia
colour_LUT(4,2) = 255;  % Green / HTML 4.01 lime
colour_LUT(5,2) = 255;  % Cyan / HTML 4.01 aqua
colour_LUT(6,2) = 0;    % Black
colour_LUT(7,2) = 255;  % Yellow
colour_LUT(8,2) = 128;  % HTML 4.01 Teal
colour_LUT(9,2) = 128;  % HTML 4.01 Green
colour_LUT(10,2) = 0;    % HTML 4.01 Maroon
colour_LUT(11,2) = 0;    % HTML 4.01 Navy
colour_LUT(12,2) = 128;  % HTML 4.01 Olive
colour_LUT(13,2) = 0;    % HTML 4.01 Purple
colour_LUT(14,2) = 177;  % Horrible salmon (my creation)
colour_LUT(15,2) = 192;  % HTML 4.01 Silver
colour_LUT(16,2) = 128;  % HTML 4.01 Gray
colour_LUT(17,2) = 255;
colour_LUT(18,2) = 51;
colour_LUT(19,2) = 0;

% B
colour_LUT(1,3) = 255;  % Blue
colour_LUT(2,3) = 0;    % Red
colour_LUT(3,3) = 255;  % Magenta / HTML 4.01 fuschia
colour_LUT(4,3) = 0;    % Green / HTML 4.01 lime
colour_LUT(5,3) = 255;  % Cyan / HTML 4.01 aqua
colour_LUT(6,3) = 0;    % Black
colour_LUT(7,3) = 0;    % Yellow
colour_LUT(8,3) = 128;  % HTML 4.01 Teal
colour_LUT(9,3) = 0;    % HTML 4.01 Green
colour_LUT(10,3) = 0;    % HTML 4.01 Maroon
colour_LUT(11,3) = 128;  % HTML 4.01 Navy
colour_LUT(12,3) = 0;    % HTML 4.01 Olive
colour_LUT(13,3) = 128;  % HTML 4.01 Purple
colour_LUT(14,3) = 177;  % Horrible salmon (my creation)
colour_LUT(15,3) = 192;  % HTML 4.01 Silver
colour_LUT(16,3) = 128;  % HTML 4.01 Gray
colour_LUT(17,3) = 0;
colour_LUT(18,3) = 51;
colour_LUT(19,3) = 255;

% Duplicate the colours
colour_LUT(20:38,:) = colour_LUT(1:19,:);

% Scale into the range 0-1
colour_LUT = colour_LUT./255;

