Is there a way to interactively move a plot legend in a Live Editor figure?

조회 수: 6 (최근 30일)
In a normal figure window, I can reposition a plot legend by clicking and dragging. Is it possible to do something similar in a Live Editor figure?

채택된 답변

Keerthana Chiruvolu
Keerthana Chiruvolu 2021년 2월 23일
편집: Keerthana Chiruvolu 2021년 2월 23일
Hi,
Click on the Live Editor Figure, this opens a Figure menu having all the currenlty supported features for the figure.
You can also undock the Live Editor Figure to open it in a Figure window.
For more information on Legend refer legend(), Legend Properties
  댓글 수: 2
Matt J
Matt J 2021년 2월 23일
편집: Matt J 2021년 2월 23일
Hi,
I have found nothing in the Figure Menu that lets me move the legend around. Are you saying then, that there is no means of interactively dragging a Live Editor legend?
Keerthana Chiruvolu
Keerthana Chiruvolu 2021년 2월 24일
Hi Matt,
Yes, these are features we are supporting for now. You can undock it in a Figure window and drag the legend interactively or specify the legend position in the code.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

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