We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 956a636 commit 5c865a9Copy full SHA for 5c865a9
unit_test/PlotTest.m
@@ -16,9 +16,8 @@ function tranimate_test(tc)
16
17
clf
18
tranimate(X1, X2, 'axis', [-10 10 -20 20 -30 30]);
19
- v = axis;
20
- %tc.verifyEqual(v, [-10 10 -20 20 -30 30]);
21
- tc.verifyEqual(v, [-10 10 -20 20]); % 19b doesnt give
+ ax = gca; v = [ax.XLim ax.YLim ax.ZLim];
+ tc.verifyEqual(v, [-10 10 -20 20 -30 30]); % 19b doesnt give
22
23
tranimate(X1, X2, 'noxyz');
24
tranimate(X1, X2, 'rgb');
0 commit comments