graph weight overlap and arrow size
이전 댓글 표시
I have plotted a weighted directed graph as shown below. Everything is fine except two major points:
- The weights of different edges overlap so they are not reable.
- the arrow size is quite small in a way that if I can increase the line width to 2, then technically they cannot be read.
Any help is appreciated.
Majid

답변 (1개)
Christine Tobler
2019년 2월 20일
0 개 추천
- There isn't a solution for this at the moment, unfortunately. One alternative would be to set the LineWidth based on the edge weight, but this of course only gives an approximate idea of the line width. Another is to just try out different layouts, and see if there are overlaps there.
- Set the ArrowSize property to a larger value, plot(g, 'ArrowSize', 10), for example.
카테고리
도움말 센터 및 File Exchange에서 Graph and Network Algorithms에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!