Mercurial > octave-nkf
comparison scripts/control/base/bode.m @ 5926:ddfe04062467
[project @ 2006-08-14 19:16:07 by jwe]
author | jwe |
---|---|
date | Mon, 14 Aug 2006 19:16:07 +0000 |
parents | 4c8a2e4e0717 |
children | 34f96dd5441b |
comparison
equal
deleted
inserted
replaced
5925:fe5cedbf3806 | 5926:ddfe04062467 |
---|---|
145 | 145 |
146 if (nargout < 1), | 146 if (nargout < 1), |
147 ## Plot the information | 147 ## Plot the information |
148 save_automatic_replot = automatic_replot; | 148 save_automatic_replot = automatic_replot; |
149 unwind_protect | 149 unwind_protect |
150 automatic_replot = 0; | 150 automatic_replot(0); |
151 oneplot(); | 151 oneplot(); |
152 __gnuplot_set__ autoscale; | 152 __gnuplot_set__ autoscale; |
153 __gnuplot_set__ nokey; | 153 __gnuplot_set__ nokey; |
154 clearplot(); | 154 clearplot(); |
155 __gnuplot_set__ data style lines; | 155 __gnuplot_set__ data style lines; |
202 semilogx(w,phase); | 202 semilogx(w,phase); |
203 ## This should be the default for subsequent plot commands. | 203 ## This should be the default for subsequent plot commands. |
204 oneplot(); | 204 oneplot(); |
205 endif | 205 endif |
206 unwind_protect_cleanup | 206 unwind_protect_cleanup |
207 automatic_replot = save_automatic_replot; | 207 automatic_replot(save_automatic_replot); |
208 end_unwind_protect | 208 end_unwind_protect |
209 else | 209 else |
210 mag_r = mag; | 210 mag_r = mag; |
211 phase_r = phase; | 211 phase_r = phase; |
212 w_r = w; | 212 w_r = w; |