Hello All,
I seem to have an issue in displaying the node names. My code goes as follows:
density=0.001names = 1:295;node_names=reshape(cellstr(num2str(names(:))),* size(names)); %%assigning node names
A = sprand( 295, 295, density );%%creating sparse random adjacency matrix
A=tril(A,-1);A=A+A.';G =graph(A,node_names);ax=axesm('mercator','MapLatLimit',[40 41],'MapLonLimit',[-74 -73]);setm(gca, 'origin',[-74.900,-73.750,-73.5340])p=plot(ax,G);
Thanks in advance
Best Answer