LTPDA_ALLXLABEL Set all the x-axis labels on the current figure. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% DESCRIPTION: LTPDA_ALLXLABEL Set all the x-axis labels on the current figure. CALL: ltpda_allxlabel(label) VERSION: $Id: ltpda_allxlabel.m,v 1.5 2007/07/30 16:04:09 ingo Exp $ HISTORY: 17-11-2002 M Hewitson Creation. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
0001 function ltpda_allxlabel(label) 0002 % LTPDA_ALLXLABEL Set all the x-axis labels on the current figure. 0003 % 0004 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 0005 % 0006 % DESCRIPTION: LTPDA_ALLXLABEL Set all the x-axis labels on the current figure. 0007 % 0008 % CALL: ltpda_allxlabel(label) 0009 % 0010 % VERSION: $Id: ltpda_allxlabel.m,v 1.5 2007/07/30 16:04:09 ingo Exp $ 0011 % 0012 % HISTORY: 17-11-2002 M Hewitson 0013 % Creation. 0014 % 0015 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 0016 0017 c = get(gcf, 'children'); 0018 0019 for k=1:length(c) 0020 0021 t = get(c(k), 'Tag'); 0022 if isempty(t) 0023 h = get(c(k), 'xlabel'); 0024 set(h, 'string', label); 0025 end 0026 0027 end 0028 0029 % 0030 % END