MATLAB Answers

How to make a directed, circular chord plot in MATLAB

47 views (last 30 days)
Chris Endemann
Chris Endemann on 17 Sep 2019
Commented: darova on 24 Sep 2019
I am attempting to represent a network using a circle of nodes, with connetions going to/from different nodes in a directed manner. I have been using the digraph object with some success, but have discovered that the lines drawn to/from different nodes using that object are always perfectly straight unless there happens to be a reciprocally connected pair of nodes (in which case some arc is added to the connections). Is there anyway to make a directed graph that has curved connections--bent at different angles depending on distance between nodes.
Essentially, I want to recreate the result from Kassebaum's circularGraph (, but with directed connections.
On a related note, I am thinking that I could use half-arrows whenever there is a reciprocal connection (so that there's room for both to/from connections to be displayed). Is this at all possible?


Sign in to comment.

Accepted Answer

darova on 18 Sep 2019
Here is a simple method how to draw arcs
img1.png img2.png
img3.png img5.png
see attached script


Show 1 older comment
darova on 24 Sep 2019
How arrows should look like? Can you draw an example?
Chris Endemann
Chris Endemann on 24 Sep 2019
I would like arrows to show the directionality of each connection in the graph, with each arrow placed at the center of each line/arc.

Sign in to comment.

More Answers (0)

Sign in to answer this question.