LTPDA_ALLYLABEL Set all the y-axis labels on the current figure. usage: allylabel(label) M Hewitson 17-11-02 $Id: ltpda_allylabel.html,v 1.1 2007/06/08 14:15:10 hewitson Exp $
0001 function ltpda_allylabel(label) 0002 0003 % LTPDA_ALLYLABEL Set all the y-axis labels on the current 0004 % figure. 0005 % 0006 % usage: allylabel(label) 0007 % 0008 % M Hewitson 17-11-02 0009 % 0010 % $Id: ltpda_allylabel.html,v 1.1 2007/06/08 14:15:10 hewitson Exp $ 0011 % 0012 0013 0014 0015 0016 c = get(gcf, 'children'); 0017 0018 for k=1:length(c) 0019 0020 t = get(c(k), 'Tag'); 0021 if t=='' 0022 h = get(c(k), 'ylabel'); 0023 set(h, 'string', label); 0024 end 0025 0026 end 0027 0028 % 0029 % END