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 CenterFile Exchange에서 Legend에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by