function setndsdef(iaxes,inds_old,inds_new)
%
%  Name: Setndsdef
%
%  Usage: setndsdef(iaxes,inds_old,inds_new)
%
%   Assigns the default characteristics for the plot line 'inds_new'
%    based on the characteristics in 'inds_old'
%

%   Version SWD970730
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% This matlab source code was originally     %
% developed as part of "DIAMOND" at          %
% Los Alamos National Laboratory. It may     %
% be copied, modified, and distributed in    %
% any form, provided:                        %
%  a) This notice accompanies the files and  %
%     appears near the top of all source     %
%     code files.                            %
%  b) No payment or commercial services are  %
%     received in exchange for the code.     %
%                                            %
% Original copyright is reserved by the      %
% Regents of the University of California,   %
% in addition to Scott W. Doebling, Phillip  %
% J. Cornwell, Erik G. Straser, and Charles  %
% R. Farrar.                                 %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

global DISPLAY

DISPLAY{iaxes}.specfun{inds_new} = DISPLAY{iaxes}.specfun{inds_old}; 
DISPLAY{iaxes}.displayfun{inds_new} =  DISPLAY{iaxes}.displayfun{inds_old};
DISPLAY{iaxes}.idatafile{inds_new} = DISPLAY{iaxes}.idatafile{inds_old};
DISPLAY{iaxes}.iavg{inds_new} = DISPLAY{iaxes}.iavg{inds_old};
DISPLAY{iaxes}.lnst{inds_new} = DISPLAY{iaxes}.lnst{inds_old};
DISPLAY{iaxes}.lnco{inds_new} = DISPLAY{iaxes}.lnco{inds_old};
DISPLAY{iaxes}.marker{inds_new} = DISPLAY{iaxes}.marker{inds_old}; 
DISPLAY{iaxes}.iresp{inds_new} = DISPLAY{iaxes}.iresp{inds_old};
DISPLAY{iaxes}.iref{inds_new} = DISPLAY{iaxes}.iref{inds_old};
DISPLAY{iaxes}.lnlab{inds_new} = DISPLAY{iaxes}.lnlab{inds_old};

return