필터 지우기
필터 지우기

How to automatically manage label position?

조회 수: 1 (최근 30일)
Jonathan
Jonathan 2018년 11월 1일
편집: Jonathan 2018년 11월 2일
Looking at the documentation for the treeplot command, I can't help noticing that the author somehow managed to set the node labels of the tree plot with minimum conflict with the other elements of the plot:
For example, the root label ('1') is placed on top of its node while labels '2' and '3' are set respectively on the left and at the bottom of their nodes. Thus avoiding to step on the markers and lines of the plot.
Can this be done systematically for any node/label or do I have to "manually" adjust each label (HorizontalAlignment, VerticalAlignment, etc.)?
Edit: As far as I understand, the labels are added as described here .

답변 (0개)

카테고리

Help CenterFile Exchange에서 Axis Labels에 대해 자세히 알아보기

제품


릴리스

R2013a

Community Treasure Hunt

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

Start Hunting!

Translated by