Title: [ENH]: rgp or rgba option for pyplot pcolormesh and/or pcolor · Issue #24418 · matplotlib/matplotlib · GitHub
Open Graph Title: [ENH]: rgp or rgba option for pyplot pcolormesh and/or pcolor · Issue #24418 · matplotlib/matplotlib
X Title: [ENH]: rgp or rgba option for pyplot pcolormesh and/or pcolor · Issue #24418 · matplotlib/matplotlib
Description: Problem The axis argument X and Y in pcolormesh allows to have non-equidistantly spaced data grids which is very useful if you have measured/simulated/etc data on non-simple axes. imshow on the other hands does not support such non-equid...
Open Graph Description: Problem The axis argument X and Y in pcolormesh allows to have non-equidistantly spaced data grids which is very useful if you have measured/simulated/etc data on non-simple axes. imshow on the oth...
X Description: Problem The axis argument X and Y in pcolormesh allows to have non-equidistantly spaced data grids which is very useful if you have measured/simulated/etc data on non-simple axes. imshow on the oth...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/24418
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[ENH]: rgp or rgba option for pyplot pcolormesh and/or pcolor","articleBody":"### Problem\n\nThe axis argument `X` and `Y` in `pcolormesh` allows to have non-equidistantly spaced data grids which is very useful if you have measured/simulated/etc data on non-simple axes. \r\n\r\n`imshow` on the other hands does not support such non-equidistant axes since the change to version 2. However, it support the use of `(N, M, 3)` or `(N, M, 4`) dimensional arrays to encode rgp or rgba data directly. This allows to write routines that encode e.g. 2D dimensional information like (orientation in color, strength in darkness) or 3D date (directly mapped to rgb).\r\n\r\nThere seems no way to combine both non-equidistant aces and rgb(a) support in matplotlib. \n\n### Proposed solution\n\nWould it be possible to add the rgb and rgba options to `pcolormesh`/`pcolor` as well? \r\n\r\nOr are there other options for tackling this issue? \r\n\r\nIs there actual interest in such an option and would it be worth to add code fo it? ","author":{"url":"https://github.com/PrometheusPi","@type":"Person","name":"PrometheusPi"},"datePublished":"2022-11-10T16:10:45.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/24418/matplotlib/issues/24418"}
| 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:61535099-155d-18d0-7c52-dda2bf1d66af |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BA6A:EA672:AF977B:EA88FF:6A52BADB |
| html-safe-nonce | fa8b935d9a98917cfcb8dc280b6b3525e928844cf2314aa7e225030b7339e668 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQTZBOkVBNjcyOkFGOTc3QjpFQTg4RkY6NkE1MkJBREIiLCJ2aXNpdG9yX2lkIjoiNTg5NTcyNTQ0MTc3NjUzMjE4NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | d67df629528a567d46b6e11e756e4b5e0c29a7beda7bd62fa6807f36d70b1086 |
| hovercard-subject-tag | issue:1444176448 |
| 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/matplotlib/matplotlib/24418/issue_layout |
| twitter:image | https://opengraph.githubassets.com/9eef84b3db745f176a1398eed44c67d33529403f44d947dd90ab91beb9a16900/matplotlib/matplotlib/issues/24418 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9eef84b3db745f176a1398eed44c67d33529403f44d947dd90ab91beb9a16900/matplotlib/matplotlib/issues/24418 |
| og:image:alt | Problem The axis argument X and Y in pcolormesh allows to have non-equidistantly spaced data grids which is very useful if you have measured/simulated/etc data on non-simple axes. imshow on the oth... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | PrometheusPi |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| go-import | github.com/matplotlib/matplotlib git https://github.com/matplotlib/matplotlib.git |
| octolytics-dimension-user_id | 215947 |
| octolytics-dimension-user_login | matplotlib |
| octolytics-dimension-repository_id | 1385122 |
| octolytics-dimension-repository_nwo | matplotlib/matplotlib |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1385122 |
| octolytics-dimension-repository_network_root_nwo | matplotlib/matplotlib |
| 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 | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width