Skip to content

Commit 520edb5

Browse files
committed
fixed bug in specifying axis limits; numbers were in wrong form
1 parent 20ba841 commit 520edb5

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

examples/pvtol-nested.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,17 +88,17 @@
8888

8989
# Add crossover line
9090
subplot(magh); hold(True);
91-
loglog([10^-4, 10^3], [1, 1], 'k-')
91+
loglog([1e-4, 1e3], [1, 1], 'k-')
9292

9393
# Replot phase starting at -90 degrees
9494
bode(L, logspace(-4, 3));
9595
(mag, phase, w) = freqresp(L, logspace(-4, 3));
9696
phase = phase - 360;
9797
subplot(phaseh);
98-
semilogx([10^-4, 10^3], [-180, -180], 'k-')
98+
semilogx([10^-4, 1e3], [-180, -180], 'k-')
9999
hold(True);
100100
semilogx(w, phase, 'b-')
101-
axis([10^-4, 10^3, -360, 0]);
101+
axis([1e-4, 10^3, -360, 0]);
102102
xlabel('Frequency [deg]'); ylabel('Phase [deg]');
103103
# set(gca, 'YTick', [-360, -270, -180, -90, 0]);
104104
# set(gca, 'XTick', [10^-4, 10^-2, 1, 100]);

0 commit comments

Comments
 (0)