forked from gregfreeman/wavelab850
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathLockAxes.m
executable file
·42 lines (37 loc) · 927 Bytes
/
LockAxes.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
function LockAxes(a)
% LockAxes -- Version-independent axis command
% Usage
% LockAxes(a)
% Inputs
% a axis parameter, just as required by axis()
%
% Side Effects
% The axes are set to a and held, using a method
% which works under both v3.5 and v4.0 of MATLAB.
%
% See Also
% UnlockAxes, MATLABVERSION
%
global MATLABVERSION
if MATLABVERSION == 3.5,
axis(a);
plot(a(1)-.5, a(3)-.5);
hold on;
else
plot(a(1)-.5, a(3)-.5);
axis(a);
hold on;
end
%
% Part of WaveLab Version 802
% Built Sunday, October 3, 1999 8:52:27 AM
% This is Copyrighted Material
% For Copying permissions see COPYING.m
% Comments? e-mail wavelab@stat.stanford.edu
%
%
% Part of Wavelab Version 850
% Built Tue Jan 3 13:20:38 EST 2006
% This is Copyrighted Material
% For Copying permissions see COPYING.m
% Comments? e-mail wavelab@stat.stanford.edu