problem with plot Directed graph in Matlab

조회 수: 7 (최근 30일)
Mohammad Shapouri
Mohammad Shapouri 2020년 3월 19일
댓글: Maria Afsharirad 2020년 10월 11일
I'm tring to plot a directed Grapph (a road network). However, when I use graph.plot it connects two links with two arcs (as default) since it's a Digraph so I was wondering how can I plot two connected nodes with two links with straight lines.
  댓글 수: 2
Ayush Gupta
Ayush Gupta 2020년 3월 24일
Since it is a multigraph, the edges are in an arc shape, so that they do not coincide and helps avoid confusion. You will be seeing straight lines in the case of a simple graph. Please refer to the doc for example on plotting directed graphs
Maria Afsharirad
Maria Afsharirad 2020년 10월 11일
I do have the same problem, but it sounds there is no solution for it!!

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

답변 (0개)

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by