Skip to content

Nyquist plot indent direction doesn't seem to work  #1095

@JonHowMIT

Description

@JonHowMIT

Hi - When I run this code in Jupyter notebook I get different results:

from platform import python_version
print("Running Python:",python_version())
! pip list | grep control
from control import nyquist_plot, zpk
import matplotlib.pyplot as plt

G = zpk([], [0, -2, -3], gain=100)

fig, ax = plt.subplots(1,figsize=(4, 4),dpi=150,constrained_layout = True)
out = nyquist_plot(G,indent_points=100,indent_direction='left',indent_radius=0.25)

fig, ax = plt.subplots(1,figsize=(4, 4),dpi=150,constrained_layout = True)
out = nyquist_plot(G)

  1. Running Python: 3.8.19 and control 0.9.4 it works great and get pretty plot
  2. Running Python: 3.12.6 and control 0.10.1 I get: "AttributeError: Line2D.set() got an unexpected keyword argument 'indent_points' "

any thoughts?
thx
jon

p.s. would really like to understand better how these indent plot are made, bec the first "pretty plot" in (1) above is really hard to intepret

Metadata

Metadata

Assignees

Labels

Type

No 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