Home > m > plottools > ltpda_allyaxis.m

ltpda_allyaxis

PURPOSE ^

LTPDA_ALLYAXIS Set all the yaxis ranges on the current

SYNOPSIS ^

function ltpda_allyaxis(y1, y2)

DESCRIPTION ^

 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 $

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

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

Generated on Fri 08-Jun-2007 16:09:11 by m2html © 2003