Title: Nyquist plot uses incorrect subplot axes · Issue #1144 · python-control/python-control · GitHub
Open Graph Title: Nyquist plot uses incorrect subplot axes · Issue #1144 · python-control/python-control
X Title: Nyquist plot uses incorrect subplot axes · Issue #1144 · python-control/python-control
Description: import control as ctl import matplotlib.pyplot as plt P = ctl.tf([1], [2, 1]) fig, ax = plt.subplots(2,2) ctl.nyquist_plot(P, ax=ax[1,0]) plt.show() The nyquist plot always shows up in the botom right corner, no matter what index into ax...
Open Graph Description: import control as ctl import matplotlib.pyplot as plt P = ctl.tf([1], [2, 1]) fig, ax = plt.subplots(2,2) ctl.nyquist_plot(P, ax=ax[1,0]) plt.show() The nyquist plot always shows up in the botom ri...
X Description: import control as ctl import matplotlib.pyplot as plt P = ctl.tf([1], [2, 1]) fig, ax = plt.subplots(2,2) ctl.nyquist_plot(P, ax=ax[1,0]) plt.show() The nyquist plot always shows up in the botom ri...
Opengraph URL: https://github.com/python-control/python-control/issues/1144
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Nyquist plot uses incorrect subplot axes","articleBody":"```python3\nimport control as ctl\nimport matplotlib.pyplot as plt\nP = ctl.tf([1], [2, 1])\n\nfig, ax = plt.subplots(2,2)\nctl.nyquist_plot(P, ax=ax[1,0])\nplt.show()\n```\n\nThe nyquist plot always shows up in the botom right corner, no matter what index into `ax` I use.\n\nWhen I replace the nyquist with step, it shows up at the correct position (bottom left in this case):\n```python3\nfig, ax = plt.subplots(2,2)\nctl.step_response(P).plot(ax=ax[1,0])\nplt.show()\n```\n\nVersion: control==0.10.1","author":{"url":"https://github.com/ondras12345","@type":"Person","name":"ondras12345"},"datePublished":"2025-04-16T16:21:23.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/1144/python-control/issues/1144"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:a588f1ca-f9e8-e92c-6649-611cf9edc03d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8004:18D3E7:1254EF8:1A15D1D:697A380A |
| html-safe-nonce | e0d0a730dfb6e034475eb80a11243fa93dc059e3a6c5b4674d7f2c4f819fdaca |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MDA0OjE4RDNFNzoxMjU0RUY4OjFBMTVEMUQ6Njk3QTM4MEEiLCJ2aXNpdG9yX2lkIjoiNTM2NzYzNjYxNjg5NjE5ODY2NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | db29ea7b5779b324ea2c0a6c163b151c8f3baeb9a64e0c038fb19255d3d853d1 |
| hovercard-subject-tag | issue:3000141576 |
| github-keyboard-shortcuts | repository,issues,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/_view_fragments/issues/show/python-control/python-control/1144/issue_layout |
| twitter:image | https://opengraph.githubassets.com/bace4512521269e74f19b4ac62c314da08549c6216c0f1ef54da2ebf4bbf6c75/python-control/python-control/issues/1144 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/bace4512521269e74f19b4ac62c314da08549c6216c0f1ef54da2ebf4bbf6c75/python-control/python-control/issues/1144 |
| og:image:alt | import control as ctl import matplotlib.pyplot as plt P = ctl.tf([1], [2, 1]) fig, ax = plt.subplots(2,2) ctl.nyquist_plot(P, ax=ax[1,0]) plt.show() The nyquist plot always shows up in the botom ri... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ondras12345 |
| hostname | github.com |
| expected-hostname | github.com |
| None | af6de804ceb83ad30bb9b348cdeaccaa30cdcb566762d5e74e21e2bad88885d0 |
| turbo-cache-control | no-preview |
| 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 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 2d980605f0959039ddebcbcf522b072508302977 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width