Merge pull request #685 from murrayrm/doc_pzmap_axis · python-control/python-control@a111b03

Original file line numberDiff line numberDiff line change

@@ -59,8 +59,7 @@

5959

# http://matplotlib.sourceforge.net/examples/axes_grid/demo_axisline_style.html

6060

# http://matplotlib.sourceforge.net/examples/axes_grid/demo_curvelinear_grid.html

6161

def pzmap(sys, plot=None, grid=None, title='Pole Zero Map', **kwargs):

62-

"""

63-

Plot a pole/zero map for a linear system.

62+

"""Plot a pole/zero map for a linear system.

6463
6564

Parameters

6665

----------

@@ -78,6 +77,14 @@ def pzmap(sys, plot=None, grid=None, title='Pole Zero Map', **kwargs):

7877

The systems poles

7978

zeros: array

8079

The system's zeros.

80+
81+

Notes

82+

-----

83+

The pzmap function calls matplotlib.pyplot.axis('equal'), which means

84+

that trying to reset the axis limits may not behave as expected. To

85+

change the axis limits, use matplotlib.pyplot.gca().axis('auto') and

86+

then set the axis limits to the desired values.

87+
8188

"""

8289

# Check to see if legacy 'Plot' keyword was used

8390

if 'Plot' in kwargs: