How to plot a big network showing node ID?

3 visualizaciones (últimos 30 días)
Benson Gou
Benson Gou el 25 de Ag. de 2020
Editada: Benson Gou el 26 de Ag. de 2020
Dear All,
I used plot to display a bid network with 3000 nodes. But the graph does not show the node ID. I am wondering if it is possible to plot this network with node ID when I zoom in. Here is my code:
s = edge(:,2);
t = edge(:,3);
weights = randi(1,1,length(s));
G = graph(s,t,weights);
figure = plot(G);
title('Display of the Entire Network');
xlabel('From Node ID');
ylabel('To Node ID');
When the network is small (like 20 nodes), the figure shows the node ids; but when the network is big (like 2000), it does not shows the node ids.
Thanks a lot.
Benson

Respuestas (0)

Categorías

Más información sobre Networks en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by