标签: matlab graph
我有一个由一组边缘及其相应的起始和结束节点组成的图形。这些是为城市的特定区域生成的。如何在matlab中可视化此图形
答案 0 :(得分:8)
查看此功能:
doc gplot
示例:
% Plot half of a "Bucky ball" carbon molecule, placing asterisks at each node: k = 1:30; [B,XY] = bucky; gplot(B(k,k),XY(k,:),'-*') axis square