LTPDA_ALLYAXIS Set all the yaxis ranges on the current figure. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% DESCRIPTION: LTPDA_ALLYAXIS Set all the yaxis ranges on the current figure. CALL: allyaxis(y1, y2) VERSION: $Id: ltpda_allyaxis.html,v 1.14 2008/03/31 10:27:43 hewitson Exp $ HISTORY: 17-11-2002 M Hewitson Creation. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
0001 function ltpda_allyaxis(y1, y2) 0002 % LTPDA_ALLYAXIS Set all the yaxis ranges on the current figure. 0003 % 0004 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 0005 % 0006 % DESCRIPTION: LTPDA_ALLYAXIS Set all the yaxis ranges on the current figure. 0007 % 0008 % CALL: allyaxis(y1, y2) 0009 % 0010 % VERSION: $Id: ltpda_allyaxis.html,v 1.14 2008/03/31 10:27:43 hewitson Exp $ 0011 % 0012 % HISTORY: 17-11-2002 M Hewitson 0013 % Creation. 0014 % 0015 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 0016 0017 h = findobj(gcf, 'Type','axes', '-not', 'Tag', 'legend'); 0018 0019 set(h, 'YLim', [y1 y2]) 0020 0021 % 0022 % END