Digraph chord chart 有向弦图

Digraph chord chart 有向弦图
254 Downloads
Updated 5 Apr 2024

View License

Digraph chord chart 有向弦图
dataMat=randi([0,8],[6,6]);
% 添加标签名称
NameList={'CHORD','CHART','MADE','BY','SLANDARER','MATLAB'};
BCC=biChordChart(dataMat,'Label',NameList,'Arrow','on');
BCC=BCC.draw();
% 添加刻度
BCC.tickState('on')
% 修改字体,字号及颜色
BCC.setFont('FontName','Cambria','FontSize',17,'Color',[.2,.2,.2])
BCC.setLabelRadius(1.3);
BCC.tickLabelState('on')
详情请见本人公众号/知乎/CSDN :slandarer

Cite As

Zhaoxu Liu / slandarer (2024). Digraph chord chart 有向弦图 (https://www.mathworks.com/matlabcentral/fileexchange/121043-digraph-chord-chart), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2022b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.1.4

Fixed a bug with incorrect rotation of some labels in older versions

1.1.3

Fixed nan issue and text overlap issue when all elements of matrix rows or columns are 0

1.1.2

add Copyright

1.1.1

Adjust numeric string format

1.1.0

Added attribute 'LRadius' with adjustable Label radius
Added attribute 'LRotate' and function `labelRatato` with adjustable Label rotate(demo3)
Use function `tickLabelState` to display tick labels(demo4)

1.0.0