Home > m > plottools > ltpda_allylabel.m

ltpda_allylabel

PURPOSE ^

LTPDA_ALLYLABEL Set all the y-axis labels on the current figure.

SYNOPSIS ^

function ltpda_allylabel(label)

DESCRIPTION ^

 LTPDA_ALLYLABEL Set all the y-axis labels on the current figure.

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

 DESCRIPTION: LTPDA_ALLYLABEL Set all the y-axis labels on the current figure.

 CALL:        allylabel(label)

 VERSION:     $Id: ltpda_allylabel.html,v 1.14 2008/03/31 10:27:43 hewitson Exp $

 HISTORY:     17-11-2002 M Hewitson
                 Creation.

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function ltpda_allylabel(label)
0002 % LTPDA_ALLYLABEL Set all the y-axis labels on the current figure.
0003 %
0004 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
0005 %
0006 % DESCRIPTION: LTPDA_ALLYLABEL Set all the y-axis labels on the current figure.
0007 %
0008 % CALL:        allylabel(label)
0009 %
0010 % VERSION:     $Id: ltpda_allylabel.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 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), 'ylabel');
0024     set(h, 'string', label);
0025   end
0026 
0027 end
0028 
0029 %
0030 % END

Generated on Mon 31-Mar-2008 12:20:24 by m2html © 2003