Title: legtools.remove does not check index values · Issue #8 · StackOverflowMATLABchat/legtools · GitHub
Open Graph Title: legtools.remove does not check index values · Issue #8 · StackOverflowMATLABchat/legtools
X Title: legtools.remove does not check index values · Issue #8 · StackOverflowMATLABchat/legtools
Description: legtools.remove's input validation does not check the values of the removal indices to see if they are valid indices. In the case of multiple deletion indices this error is handled by MATLAB, which throws an error when attempting to dele...
Open Graph Description: legtools.remove's input validation does not check the values of the removal indices to see if they are valid indices. In the case of multiple deletion indices this error is handled by MATLAB, which...
X Description: legtools.remove's input validation does not check the values of the removal indices to see if they are valid indices. In the case of multiple deletion indices this error is handled by MATLAB, w...
Opengraph URL: https://github.com/StackOverflowMATLABchat/legtools/issues/8
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"legtools.remove does not check index values","articleBody":"`legtools.remove`'s input validation does not check the values of the removal indices to see if they are valid indices. In the case of multiple deletion indices this error is handled by MATLAB, which throws an error when attempting to `delete` something out of range. However, in the case of one removal index, `remove` is short-circuited to remove the legend entirely if there is also only one legend entry.\n\nFor example:\n\n```\nfigure\nezplot sin\nlegend sin\nlegtools.remove(legend,2)\n```\n\nSee also: #7 \n","author":{"url":"https://github.com/sco1","@type":"Person","name":"sco1"},"datePublished":"2016-10-04T17:07:50.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/8/legtools/issues/8"}
| 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:d89df543-c0bd-5f23-8f20-7645ae19d42c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D0EC:726BD:2C3F0D5:3ED902A:6A510E3E |
| html-safe-nonce | e1dfe65c1bbc4f0f797c28bc2bfcd42f09d571540fcec80c1e5ef524ab2893d9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMEVDOjcyNkJEOjJDM0YwRDU6M0VEOTAyQTo2QTUxMEUzRSIsInZpc2l0b3JfaWQiOiI0MjY4NTMxNDM5MDY5MzY3ODcwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 4b3664ae516d292fef2d52fcfd4afe5f8c9313dcddba2d8400e1ff6efe0126ef |
| hovercard-subject-tag | issue:180950610 |
| 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/StackOverflowMATLABchat/legtools/8/issue_layout |
| twitter:image | https://opengraph.githubassets.com/606fd2ff7440023c04fd8b7e72dc02d78fd7875f7a26fa9fba3af379a3b9684d/StackOverflowMATLABchat/legtools/issues/8 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/606fd2ff7440023c04fd8b7e72dc02d78fd7875f7a26fa9fba3af379a3b9684d/StackOverflowMATLABchat/legtools/issues/8 |
| og:image:alt | legtools.remove's input validation does not check the values of the removal indices to see if they are valid indices. In the case of multiple deletion indices this error is handled by MATLAB, which... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | sco1 |
| hostname | github.com |
| expected-hostname | github.com |
| None | b076e100febaa00374cd89239f915d00dd3187f7c68b12bc2b7688181305344d |
| turbo-cache-control | no-preview |
| go-import | github.com/StackOverflowMATLABchat/legtools git https://github.com/StackOverflowMATLABchat/legtools.git |
| octolytics-dimension-user_id | 16546670 |
| octolytics-dimension-user_login | StackOverflowMATLABchat |
| octolytics-dimension-repository_id | 59302640 |
| octolytics-dimension-repository_nwo | StackOverflowMATLABchat/legtools |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 59302640 |
| octolytics-dimension-repository_network_root_nwo | StackOverflowMATLABchat/legtools |
| 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 | f9137f6d981cbbfd780af369f80ce890b2d0d2d4 |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width