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:f83039e4-d545-2a0f-1a44-1a40d28dfccb |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D650:38D9C3:490C22:63F485:697BD0ED |
| html-safe-nonce | 88ca40bcefb80a5c28f874bed5099d285331396958706d53c70c8abb7bd8224b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENjUwOjM4RDlDMzo0OTBDMjI6NjNGNDg1OjY5N0JEMEVEIiwidmlzaXRvcl9pZCI6IjIxMjE2ODkyNDg3MTYwMTc5MDEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | e6598a73fc145e36f7948c91d004be5832e3f234ddd817bee67193252c7fa648 |
| 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