Problems with legend in R2014b

1 回表示 (過去 30 日間)
John
John 2014 年 10 月 29 日
編集済み: Robert Cumming 2014 年 11 月 2 日
1. Why can I no longer add a title to a legend in R2014b? It appears the only way to add a title is to manually add a text box. This is awful.
2. Why can I not re-size the legend in R2014b using the mouse? It appears that I can select the legend object and I can move it around with the mouse but I cannot grab the corner of the legend to re-size with the mouse. This is also awful.

採用された回答

Titus Edelhofer
Titus Edelhofer 2014 年 10 月 29 日
Hi John,
regarding the second question: if you click on the arrow next to the printer icon you get into the edit mode. Then you can resize (again?).
Titus
  1 件のコメント
John
John 2014 年 10 月 29 日
No. If I click on the arrow icon and then select the legend the "cross arrows" icon shows up which will allow me to move the legend around in the figure. But as soon as I move the mouse the cross arrows disappear and no re-size arrow shows up when I hover the mouse over the top of the little corner box of the legend.

サインインしてコメントする。

その他の回答 (1 件)

Robert Cumming
Robert Cumming 2014 年 10 月 29 日
編集済み: Robert Cumming 2014 年 11 月 2 日
The addition of a title to a legend in the past was a by product of the legend being built on a axes. It was not a deliberate design feature of legends.
In 2014b the legends have been redesigned and this "feature" is no longer available...
edit: I have uploaded a submission to the FEX which you can use in both HG1 and HG2 to set titles on legends.
  1 件のコメント
John
John 2014 年 10 月 29 日
I just saw that you had answered this particular question previously so my apologies for the repeat. The answer makes sense but it is a shame that the Mathworks re-designed legend without considering what "properties" would be expected by users.

サインインしてコメントする。

カテゴリ

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