LTPDA_ALLYAXIS Set all the yaxis ranges on the current figure. usage: allyaxis(y1, y2) M Hewitson 17-11-02 $Id: ltpda_allyaxis.html,v 1.1 2007/06/08 14:15:10 hewitson Exp $
0001 function ltpda_allyaxis(y1, y2) 0002 0003 % LTPDA_ALLYAXIS Set all the yaxis ranges on the current 0004 % figure. 0005 % 0006 % usage: allyaxis(y1, y2) 0007 % 0008 % M Hewitson 17-11-02 0009 % 0010 % $Id: ltpda_allyaxis.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 isempty(t) 0022 set(c(k), 'YLim', [y1 y2]); 0023 end 0024 0025 end 0026 0027 % 0028 % END