Skip to content

About

Draw chord diagram (chordChart), self-links chord diagram (biChordChart), and non-ribbon chord diagram (circNetChart) using MATLAB.

Topics

Resources

Stars

8 stars

Watchers

0 watching

Forks

Repository files navigation

MATLAB chord chart

chordChart

输入图片说明

dataMat = [2 0 1 2 5 1 2;
           3 5 1 4 2 0 1;
           4 0 5 5 2 4 3];
dataMat = dataMat + rand(3, 7);
dataMat(dataMat < 1) = 0;
colName = {'G1', 'G2', 'G3', 'G4', 'G5', 'G6', 'G7'};
rowName = {'S1', 'S2', 'S3'};

CC = chordChart(dataMat, 'RowName',rowName, 'ColName',colName);
CC = CC.draw();

CC.setFont('FontSize',17, 'FontName','Cambria')
CC.tickState('on')
CC.tickLabelState('on')
CC.setLabelRadius(1.4);

fileexchange下载链接

Zhaoxu Liu / slandarer (2026). chordChart (chord diagram | 弦图) (https://www.mathworks.com/matlabcentral/fileexchange/116550-chordchart-chord-diagram), MATLAB Central File Exchange. Retrieved April 14, 2026.


biChordChart

输入图片说明

dataMat = randi([0, 8], [6, 6]);
nameList = {'CHORD', 'CHART', 'MADE', 'BY', 'SLANDARER', 'MATLAB'};

BCC = biChordChart(dataMat, 'Label',nameList, 'Arrow','on');
BCC = BCC.draw(); 

BCC.setFont('FontName','Cambria', 'FontSize',17, 'Color',[.2,.2,.2])
BCC.tickState('on')
BCC.setLabelRadius(1.3);
BCC.tickLabelState('on')

fileexchange下载链接

Zhaoxu Liu / slandarer (2026). biChordChart (bidirectional chord diagram | 有向弦图) (https://www.mathworks.com/matlabcentral/fileexchange/121043-bichordchart-bidirectional-chord-diagram), MATLAB Central File Exchange. Retrieved April 14, 2026.


circNetChart

输入图片说明

Data = triu(randi([1, 20], [18, 18]));

CN = circNetChart(Data);
CN.NodeSizeLim = [.05, .05];
CN.EdgeWidthLim = [.01, .01];
CN.Curvature = 1;
CN.NodeColor = turbo(18);
CN = CN.draw();

fileexchange下载链接

Zhaoxu Liu / slandarer (2026). circular network chart (non-ribbon chord diagram) (https://www.mathworks.com/matlabcentral/fileexchange/118655-circular-network-chart-non-ribbon-chord-diagram), MATLAB Central File Exchange. Retrieved April 25, 2026.

About

Draw chord diagram (chordChart), self-links chord diagram (biChordChart), and non-ribbon chord diagram (circNetChart) using MATLAB.

Topics

Resources

Stars

8 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages