Skip to content

Regression: root-locus plots may be coarse, and no longer react to zoom events #1151

@repagh

Description

@repagh

Root-locus (and sisotool root-locus) used to recompute their points when zooming in on the root-locus plot (typically to get to the dominant pole group). At zoom-in, the new xlim and ylim are used to recompute the RL lines.

Currently root-locus does not recompute, and zoomed-in plots show (sometimes unusably) coarse edgy root-locuses. The recompute was removed in commit

57dac87da3c5885ef4912fa4484a0dff811e0b9c    Initial refactoring of root_locus_{map,plot}

I am currently trying to figure out how to bring recalculation of the plot back.

Example:

import control.matlab as ml
from matplotlib import pyplot as plt

s = ml.tf('s')
H = (s+1)/s**2/(s**2+2*s+7)/(s+15)
ml.rlocus(H)
plt.show()

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      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