the command legend in R2016b does not work like in R2013b?
1 view (last 30 days)
Show older comments
Marco Kapfenberger
on 22 Apr 2017
Answered: Walter Roberson
on 22 Apr 2017
I got an old GUI and programm from my boss, which does only work with R2013b for some reason. Since I did not programm it myself, I have to go through every line and search for errors.
One of the lines which seems to work fine with 2013b but not with my 2016b version is the following:
legend1=legend(hpl(:),-1);
hpl is in this a 1x9 vector. Does anyone have an idea, why this line does only work in 2013b and what it even should do?
0 Comments
Accepted Answer
Walter Roberson
on 22 Apr 2017
The -1 needs to be recoded as 'Position', 'NorthEastOutside'
0 Comments
More Answers (0)
See Also
Categories
Find more on Legend in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!