@@ -110,9 +110,9 @@ def bode_plot(syslist, omega=None,
110110 config.defaults['freqplot.number_of_samples'].
111111 margins : bool
112112 If True, plot gain and phase margin.
113- *args : `matplotlib` plot positional properties, optional
113+ *args : :func: `matplotlib.pyplot. plot` positional properties, optional
114114 Additional arguments for `matplotlib` plots (color, linestyle, etc)
115- **kwargs : `matplotlib` plot keyword properties, optional
115+ **kwargs : :func: `matplotlib.pyplot. plot` keyword properties, optional
116116 Additional keywords (passed to `matplotlib`)
117117
118118 Returns
@@ -128,21 +128,22 @@ def bode_plot(syslist, omega=None,
128128 ----------------
129129 grid : bool
130130 If True, plot grid lines on gain and phase plots. Default is set by
131- config.defaults['bode.grid'].
131+ `config.defaults['bode.grid']`.
132+
132133
133134 The default values for Bode plot configuration parameters can be reset
134135 using the `config.defaults` dictionary, with module name 'bode'.
135136
136137 Notes
137138 -----
138- 1. Alternatively, you may use the lower-level method (mag, phase, freq)
139- = sys.freqresp(freq) to generate the frequency response for a system,
140- but it returns a MIMO response.
139+ 1. Alternatively, you may use the lower-level method
140+ ``(mag, phase, freq) = sys.freqresp(freq)`` to generate the frequency
141+ response for a system, but it returns a MIMO response.
141142
142143 2. If a discrete time model is given, the frequency response is plotted
143- along the upper branch of the unit circle, using the mapping z = exp(j
144- \\ omega dt) where omega ranges from 0 to pi/dt and dt is the discrete
145- timebase. If not timebase is specified (dt = True), dt is set to 1.
144+ along the upper branch of the unit circle, using the mapping z = exp(j
145+ \\ omega dt) where omega ranges from 0 to pi/dt and dt is the discrete
146+ timebase. If not timebase is specified (dt = True), dt is set to 1.
146147
147148 Examples
148149 --------
@@ -464,9 +465,9 @@ def nyquist_plot(syslist, omega=None, plot=True, label_freq=0,
464465 Label every nth frequency on the plot
465466 arrowhead_width : arrow head width
466467 arrowhead_length : arrow head length
467- *args : `matplotlib` plot positional properties, optional
468+ *args : :func: `matplotlib.pyplot. plot` positional properties, optional
468469 Additional arguments for `matplotlib` plots (color, linestyle, etc)
469- **kwargs : `matplotlib` plot keyword properties, optional
470+ **kwargs : :func: `matplotlib.pyplot. plot` keyword properties, optional
470471 Additional keywords (passed to `matplotlib`)
471472
472473 Returns
@@ -539,13 +540,13 @@ def nyquist_plot(syslist, omega=None, plot=True, label_freq=0,
539540 ax = plt .gca ()
540541 # Plot arrow to indicate Nyquist encirclement orientation
541542 ax .arrow (x [0 ], y [0 ], (x [1 ]- x [0 ])/ 2 , (y [1 ]- y [0 ])/ 2 , fc = c , ec = c ,
542- head_width = arrowhead_width ,
543+ head_width = arrowhead_width ,
543544 head_length = arrowhead_length )
544545
545546 plt .plot (x , - y , '-' , color = c , * args , ** kwargs )
546547 ax .arrow (
547548 x [- 1 ], - y [- 1 ], (x [- 1 ]- x [- 2 ])/ 2 , (y [- 1 ]- y [- 2 ])/ 2 ,
548- fc = c , ec = c , head_width = arrowhead_width ,
549+ fc = c , ec = c , head_width = arrowhead_width ,
549550 head_length = arrowhead_length )
550551
551552 # Mark the -1 point
@@ -601,7 +602,7 @@ def gangof4_plot(P, C, omega=None, **kwargs):
601602 Linear input/output systems (process and control)
602603 omega : array
603604 Range of frequencies (list or bounds) in rad/sec
604- **kwargs : `matplotlib` plot keyword properties, optional
605+ **kwargs : :func: `matplotlib.pyplot. plot` keyword properties, optional
605606 Additional keywords (passed to `matplotlib`)
606607
607608 Returns
0 commit comments