Title: added support for integrating selected data with plotly by atitus · Pull Request #34 · vpython/glowscript · GitHub
Open Graph Title: added support for integrating selected data with plotly by atitus · Pull Request #34 · vpython/glowscript
X Title: added support for integrating selected data with plotly by atitus · Pull Request #34 · vpython/glowscript
Description: If using Plotly, one can use the Box Select or Lasso Select tool and select data in a scatterplot. The area under the curve will be shaded, and the integral will be printed. Here is a simple example program that illustrates the feature: g = gdots(fast=False, integrate_selected=True) for t in arange(0,10,0.01): g.plot(t, cos(t)) I have not tested it with gcurve(fast=False, integrate_selected=True). Because this also produces a Plotly scatterplot, it's possible that the data can be selected in this case too. Plotly only shows the selection tools for a scatterplot. Thus, this feature won't work for a default gcurve().
Open Graph Description: If using Plotly, one can use the Box Select or Lasso Select tool and select data in a scatterplot. The area under the curve will be shaded, and the integral will be printed. Here is a simple exampl...
X Description: If using Plotly, one can use the Box Select or Lasso Select tool and select data in a scatterplot. The area under the curve will be shaded, and the integral will be printed. Here is a simple exampl...
Opengraph URL: https://github.com/vpython/glowscript/pull/34
X: @github
Domain: patch-diff.githubusercontent.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:f549bee3-2580-a5be-c0e3-7eeb01fadcd4 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | EDFA:3A8D90:8A117E9:B28168C:6975F670 |
| html-safe-nonce | 10a1c3909c55da2562876a91c45dcc2e33740849962f29560a841a92d1647e65 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFREZBOjNBOEQ5MDo4QTExN0U5OkIyODE2OEM6Njk3NUY2NzAiLCJ2aXNpdG9yX2lkIjoiMjg0NjQ5NDk3MTY3MjI2MjI1NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 611a0f18dee1df16cf61e603f6f53eaebd823975e0e978329c62f307b1ceb1bb |
| hovercard-subject-tag | pull_request:358509016 |
| 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/vpython/glowscript/pull/34/files |
| twitter:image | https://avatars.githubusercontent.com/u/1793782?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/1793782?s=400&v=4 |
| og:image:alt | If using Plotly, one can use the Box Select or Lasso Select tool and select data in a scatterplot. The area under the curve will be shaded, and the integral will be printed. Here is a simple exampl... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | c6814b4cc7afd45cd6e64525d0cff0e76dd802f315a5b0e55a7abda1d1d070d0 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/vpython/glowscript git https://github.com/vpython/glowscript.git |
| octolytics-dimension-user_id | 1280757 |
| octolytics-dimension-user_login | vpython |
| octolytics-dimension-repository_id | 187905631 |
| octolytics-dimension-repository_nwo | vpython/glowscript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 187905631 |
| octolytics-dimension-repository_network_root_nwo | vpython/glowscript |
| 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 | 4ea235bfed58ef16c8a5642b3ac64b74f10c9f52 |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width