diff --git a/control/pzmap.py b/control/pzmap.py index d1323e103..ae8db1241 100644 --- a/control/pzmap.py +++ b/control/pzmap.py @@ -59,8 +59,7 @@ # http://matplotlib.sourceforge.net/examples/axes_grid/demo_axisline_style.html # http://matplotlib.sourceforge.net/examples/axes_grid/demo_curvelinear_grid.html def pzmap(sys, plot=None, grid=None, title='Pole Zero Map', **kwargs): - """ - Plot a pole/zero map for a linear system. + """Plot a pole/zero map for a linear system. Parameters ---------- @@ -78,6 +77,14 @@ def pzmap(sys, plot=None, grid=None, title='Pole Zero Map', **kwargs): The systems poles zeros: array The system's zeros. + + Notes + ----- + The pzmap function calls matplotlib.pyplot.axis('equal'), which means + that trying to reset the axis limits may not behave as expected. To + change the axis limits, use matplotlib.pyplot.gca().axis('auto') and + then set the axis limits to the desired values. + """ # Check to see if legacy 'Plot' keyword was used if 'Plot' in kwargs: diff --git a/control/rlocus.py b/control/rlocus.py index 4b1af57f7..23122fe72 100644 --- a/control/rlocus.py +++ b/control/rlocus.py @@ -114,6 +114,14 @@ def root_locus(sys, kvect=None, xlim=None, ylim=None, Computed root locations, given as a 2D array klist : ndarray or list Gains used. Same as klist keyword argument if provided. + + Notes + ----- + The root_locus function calls matplotlib.pyplot.axis('equal'), which + means that trying to reset the axis limits may not behave as expected. + To change the axis limits, use matplotlib.pyplot.gca().axis('auto') and + then set the axis limits to the desired values. + """ # Check to see if legacy 'Plot' keyword was used if 'Plot' in kwargs: pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy