the command legend in R2016b does not work like in R2013b?

1 回表示 (過去 30 日間)
Marco Kapfenberger
Marco Kapfenberger 2017 年 4 月 22 日
回答済み: Walter Roberson 2017 年 4 月 22 日
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?

採用された回答

Walter Roberson
Walter Roberson 2017 年 4 月 22 日
The -1 needs to be recoded as 'Position', 'NorthEastOutside'

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeLegend についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by