source:
MML/trunk/applications/common/zaxiss.m
@
4
Last change on this file since 4 was 4, checked in by , 10 years ago | |
---|---|
File size: 294 bytes |
Line | |
---|---|
1 | function zaxiss(x) |
2 | %ZAXISS - Control the z-axis scaling for all the axes in a figure |
3 | % |
4 | % Written by Greg Portmann |
5 | |
6 | hgca = gca; |
7 | |
8 | h = get(gcf,'children'); |
9 | |
10 | for i = 1:length(h) |
11 | Hprops = get(h(i)); |
12 | if isfield(Hprops, 'ZTick') |
13 | axes(h(i)); |
14 | zaxis(x); |
15 | end |
16 | end |
17 | |
18 | axes(hgca); |
Note: See TracBrowser
for help on using the repository browser.