Home > m > plottools > ltpda_allxscale.m

ltpda_allxscale

PURPOSE ^

LTPDA_ALLXSCALE Set all the x scales on the current

SYNOPSIS ^

function ltpda_allxscale(scale)

DESCRIPTION ^

 LTPDA_ALLXSCALE Set all the x scales on the current
 figure.

 usage:  allxscale(scale)

 scale = 'lin' or 'log';
 
 M Hewitson 02-05-04

 $Id: ltpda_allxscale.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_allxscale(scale)
0002 
0003 % LTPDA_ALLXSCALE Set all the x scales on the current
0004 % figure.
0005 %
0006 % usage:  allxscale(scale)
0007 %
0008 % scale = 'lin' or 'log';
0009 %
0010 % M Hewitson 02-05-04
0011 %
0012 % $Id: ltpda_allxscale.html,v 1.1 2007/06/08 14:15:10 hewitson Exp $
0013 %
0014 
0015 
0016 
0017 
0018 c = get(gcf, 'children');
0019 
0020 for k=1:length(c)
0021 
0022   t = get(c(k), 'Tag');
0023   if isempty(t)
0024     set(c(k), 'XScale', scale);
0025   end
0026    
0027 end
0028 
0029 %
0030 % END

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