function [ symbol_list ] = generate_symbol_list( N, varargin )
% [ symbol_list ] = generate_symbol_list( N, mode )
% Crée une liste de symboles+couleurs pour la fonction plot_multichar
% N nombre d'éléments
% mode = 'line' (default),'noline,'lineonly','dottedlineonly', 'alternlineonly'

mode='line';
if ~isempty(varargin)
    mode=varargin;
end
line={'-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-','-'};
if strcmp(mode,'dottedlineonly') || strcmp(mode,'dottedline') 
    line={':',':',':',':',':',':',':',':',':',':',':',':',':',':',':',':',':',':',':',':',':',':',':',':',':',':',':',':',':',':',':',':',':',':',':',':',':',':',':',':',':',':',':',':',':',':',':',':',':',':',':',':',':',':',':',':',':',':',':',':',':',':',':',':',':',':'};
elseif strcmp(mode,'alternlineonly')
    line={'-','-','-','-','-','-','-','--','--','--','--','--','--','--','-.','-.','-.','-.','-.','-.','-.',':',':',':',':',':',':',':','-','-','-','-','-','-','-','--','--','--','--','--','--','--','-.','-.','-.','-.','-.','-.','-.',':',':',':',':',':',':',':','-','-','-','-','-','-','-'};
elseif strcmp(mode,'noline')
    line={'','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','',''};
end

symbol={'o','x','+','*','s','d','v','^','<','>','o','x','+','*','s','d','v','^','<','>','o','x','+','*','s','d','v','^','<','>','o','x','+','*','s','d','v','^','<','>','o','x','+','*','s','d','v','^','<','>','o','x','+','*','s','d','v','^','<','>'};
if strcmp(mode,'lineonly') || strcmp(mode,'dottedlineonly') || strcmp(mode,'alternlineonly')
    symbol={'','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','',''};
end
color={'b','g','r','c','m','y','k','b','g','r','c','m','y','k','b','g','r','c','m','y','k','b','g','r','c','m','y','k','b','g','r','c','m','y','k','b','g','r','c','m','y','k','b','g','r','c','m','y','k','b','g','r','c','m','y','k','b','g','r','c','m','y','k','b','g','r','c','m','y','k'};

for i_element = 1:N
    symbol_list{i_element}=[line{i_element} symbol{i_element} color{i_element}];
end

end

