-
Notifications
You must be signed in to change notification settings - Fork 1
Upcoming MATLAB release supports autoupdating legend #15
Comments
Thanks for the heads up, this was something I noticed as well going through the prerelease notes. With
Yay! Simply toggling |
The recently published Undocumented MATLAB article may have yielded a more reliable approach to manipulating the legend entries to unbreak everything that was broken in R2017a.
I'll try to investigate over the weekend or early next week. |
The addition of 'AutoUpdate' to legend in R2017a breaks the functionality of append. With 'AutoUpdate' turned off we can restore the functionality of legtools, but turning it back on causes our appended legend entries to be deleted. Clearing out the undocumented 'PlotChildrenExcluded' legend property seems to prevent this from occuring This is untested in versions < R2017a See #15
While the article doesn't seem to help like I was hoping it would, I did find an unrelated approach that seems to easily restore functionality to |
Uh oh!
There was an error while loading. Please reload this page.
MATLAB has released R2017a Prerelease to some users. In the release notes on page 1-3 under Graphics, it is mentioned the
legend
function now supports the following behaviour.This is partially what
legtools
is intended for, solegtools
could be updated to remain compatible with this new functionality (e.g. make use of it?) while retaining support for older MATLAB versions.The text was updated successfully, but these errors were encountered: