problem with plot Directed graph in Matlab

7 Ansichten (letzte 30 Tage)
Mohammad Shapouri
Mohammad Shapouri am 19 Mär. 2020
Kommentiert: Maria Afsharirad am 11 Okt. 2020
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 Kommentare
Ayush Gupta
Ayush Gupta am 24 Mär. 2020
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 am 11 Okt. 2020
I do have the same problem, but it sounds there is no solution for it!!

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Networks finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by