You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 5, 2019. It is now read-only.
remidx could exceed the number of legend entries. For example:
```matlab
figure
ezplot sin
legend sin
legtools.remove(legend,2)
% 2 exceeds the number of legend entries, which is 1
```
This commit fixes this bug by throwing an error if the largest value in
remidx is greater than the number of legend entries.
0 commit comments