Title: Several vertical plots side-by-side on the same scale? · Issue #33 · PlotPyStack/PythonQwt · GitHub
Open Graph Title: Several vertical plots side-by-side on the same scale? · Issue #33 · PlotPyStack/PythonQwt
X Title: Several vertical plots side-by-side on the same scale? · Issue #33 · PlotPyStack/PythonQwt
Description: I'm in the process of trying to achive a series of side-by-side plots like this: The plots show results from the analysis of a drill core. The scale on the left is the depth down the drilled hole, and it should always be visible. The use...
Open Graph Description: I'm in the process of trying to achive a series of side-by-side plots like this: The plots show results from the analysis of a drill core. The scale on the left is the depth down the drilled hole, ...
X Description: I'm in the process of trying to achive a series of side-by-side plots like this: The plots show results from the analysis of a drill core. The scale on the left is the depth down the drilled ho...
Opengraph URL: https://github.com/PlotPyStack/PythonQwt/issues/33
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Several vertical plots side-by-side on the same scale?","articleBody":"I'm in the process of trying to achive a series of side-by-side plots like this:\n\n\n\nThe plots show results from the analysis of a drill core. The scale on the left is the depth down the drilled hole, and it should always be visible. The user should then be able to add and remove plots (showing e.g. element concentrations, rock density, ...) alongside this scale. In the sketch above I've shown two plots added, the first has two plot items, the second has one plot item.\n\nMy question is how to best accomplish this with PythonQwt?\n\nMy idea is to use a lone `QwtScaleWidget` for the scale, put it as the first item in a `QHBoxLayout`, and then each of the `QwtPlot` widgets in the same `QHBoxLayout`. But when using a \"detached\" `QwtScaleWidget` like this, how can I make sure that the `QwtPlot` widgets I put alongside it really line up with the scale properly? The positioning must be perfect, since the whole point is that the user can look at different results along the analysed core and compare them.\n\nI'll also need to allow \"zooming\" and scrolling. I plan on implementing the zooming by simply adjusting the plot axis scale of all the plots simultaneously when the zoom is changed, and scrolling with a `QScrollBar` where I attach the scroll bar's `rangeChanged` signal to a slot that update the plot axis scale of all the plots. Do you see any immediate drawbacks to this approach?\n","author":{"url":"https://github.com/estan","@type":"Person","name":"estan"},"datePublished":"2016-03-08T14:00:41.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/33/PythonQwt/issues/33"}
| 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:f311621e-9da2-646c-02dc-cb3d1c47d751 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DC78:386CF7:20C554D:2C0C45F:6972CD18 |
| html-safe-nonce | 2344995f4585061e4222b05f28efd576cad46566680e4cf2ca9f10d40c18963e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQzc4OjM4NkNGNzoyMEM1NTREOjJDMEM0NUY6Njk3MkNEMTgiLCJ2aXNpdG9yX2lkIjoiMzIzMTAwMjkzNjc1MzcwNDIxNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | a5741a19d3b5a30db1a9107a39d2e69c71c29e6773378963c059bbab4cba9f63 |
| hovercard-subject-tag | issue:139285089 |
| 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/PlotPyStack/PythonQwt/33/issue_layout |
| twitter:image | https://opengraph.githubassets.com/a637090590ba593e141a19e8f4d83824f4b770ac62cae280deff04aeac559343/PlotPyStack/PythonQwt/issues/33 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a637090590ba593e141a19e8f4d83824f4b770ac62cae280deff04aeac559343/PlotPyStack/PythonQwt/issues/33 |
| og:image:alt | I'm in the process of trying to achive a series of side-by-side plots like this: The plots show results from the analysis of a drill core. The scale on the left is the depth down the drilled hole, ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | estan |
| hostname | github.com |
| expected-hostname | github.com |
| None | e5abb0753dbd4190d15d366a819b0ca85f68a7e5bbe3d32213b346c41685c80a |
| turbo-cache-control | no-preview |
| go-import | github.com/PlotPyStack/PythonQwt git https://github.com/PlotPyStack/PythonQwt.git |
| octolytics-dimension-user_id | 145201262 |
| octolytics-dimension-user_login | PlotPyStack |
| octolytics-dimension-repository_id | 41204495 |
| octolytics-dimension-repository_nwo | PlotPyStack/PythonQwt |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 41204495 |
| octolytics-dimension-repository_network_root_nwo | PlotPyStack/PythonQwt |
| 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 | 88896109b054799a7f22afaeee541d00f9170dc3 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width