comparison m-toolbox/classes/@ao/setUnitsForAxis.m @ 0:f0afece42f48

Import.
author Daniele Nicolodi <nicolodi@science.unitn.it>
date Wed, 23 Nov 2011 19:22:13 +0100
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:f0afece42f48
1 function setUnitsForAxis(bs, pl, u)
2
3 % Set units
4 for ii = 1:numel(bs)
5 app_axis = pl.find('axis');
6 if any('X'==upper(app_axis))
7 bs(ii).data.setXunits(u);
8 end
9 if any('Y'==upper(app_axis))
10 bs(ii).data.setYunits(u);
11 end
12 if any('Z'==upper(app_axis))
13 bs(ii).data.setZunits(u);
14 end
15 end
16
17 end