Title: Refine automatic contour determination in Nyquist plot by bnavigator · Pull Request #620 · python-control/python-control · GitHub
Open Graph Title: Refine automatic contour determination in Nyquist plot by bnavigator · Pull Request #620 · python-control/python-control
X Title: Refine automatic contour determination in Nyquist plot by bnavigator · Pull Request #620 · python-control/python-control
Description: Fix for #613 import control import matplotlib.pyplot as plt G = control.tf([1], [1,1,0,0,0]) count, contour1 = control.nyquist_plot(G, label='indent_radius default (0.1)', return_contour=True) R = 0.11 count, contour2 = control.nyquist_plot(G, indent_radius=R, return_contour=True, label=f'indent_radius={R}') ax = plt.gca() ax.set_aspect(1) ax.legend(bbox_to_anchor=(1.05, 1), loc='upper left', borderaxespad=0.) plt.figure() cp = plt.plot(contour1.real, contour1.imag, '-', label='indent_radius default (0.1)') c = cp[0].get_color() plt.plot(contour1.real, -contour1.imag, '--', color=c) cp = plt.plot(contour2.real, contour2.imag, '-', label=f'indent_radius={R}') c = cp[0].get_color() plt.plot(contour2.real, -contour2.imag, '--', color=c) ax = plt.gca() ax.legend() ax.set_aspect(1) ax.set_xlim([-0.2, 0.2]) ax.set_ylim([-0.2, 0.2]) ax.grid() ax.set_title(r'Nyquist Contour $\Gamma$',) plt.show()
Open Graph Description: Fix for #613 import control import matplotlib.pyplot as plt G = control.tf([1], [1,1,0,0,0]) count, contour1 = control.nyquist_plot(G, label='indent_radius default (0.1)', ...
X Description: Fix for #613 import control import matplotlib.pyplot as plt G = control.tf([1], [1,1,0,0,0]) count, contour1 = control.nyquist_plot(G, label='indent_radius default (0.1)', ...
Opengraph URL: https://github.com/python-control/python-control/pull/620
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:5131be87-b488-f593-eca1-08d249f337ed |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9A54:19667A:4C0AB2:66E28D:697BD265 |
| html-safe-nonce | ebae9faf4038d4c537c6c2a6647387fc24454288dbb3a1f13b94a0c530218868 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QTU0OjE5NjY3QTo0QzBBQjI6NjZFMjhEOjY5N0JEMjY1IiwidmlzaXRvcl9pZCI6IjIyODcxNjE2ODEzNjIyNzY5NjUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 5515ae426794c80bf202ed506d83bfc0dba9104a1f57b0c9165a2ee34689ba5e |
| hovercard-subject-tag | pull_request:628491983 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python-control/python-control/pull/620/files |
| twitter:image | https://avatars.githubusercontent.com/u/4623504?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/4623504?s=400&v=4 |
| og:image:alt | Fix for #613 import control import matplotlib.pyplot as plt G = control.tf([1], [1,1,0,0,0]) count, contour1 = control.nyquist_plot(G, label='indent_radius default (0.1)', ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 88b7b3079ea5046bb661ad315dabef17ecc28e5f9f988d30044f4f6e56520728 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/python-control/python-control git https://github.com/python-control/python-control.git |
| octolytics-dimension-user_id | 2285872 |
| octolytics-dimension-user_login | python-control |
| octolytics-dimension-repository_id | 22791752 |
| octolytics-dimension-repository_nwo | python-control/python-control |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 22791752 |
| octolytics-dimension-repository_network_root_nwo | python-control/python-control |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 42cddef55c232612d1a39797b85abf955112a1b4 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width