Avoid overlapping of node labels in graph
조회 수: 10 (최근 30일)
이전 댓글 표시
Is there a way to avoid overlapping of node labels in a graph, such as writing some labels diagonally / writing them in the blank space around the graph and connecting them to the corresponding node with arrows? Of course, assuming the graph has a reasonable number of nodes.
댓글 수: 0
답변 (1개)
Walter Roberson
2021년 10월 22일
Not using the plot() call.
Changing the layout might help https://www.mathworks.com/help/matlab/ref/matlab.graphics.chart.primitive.graphplot.layout.html but otherwise about all you can do is specify coordinates for each of your nodes in such a way that the labels do not happen to overlap.
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!