how can I label nodes of graph?

  • Follow


Hello guys,

Can anyone help me to label the nodes of the graph ?


linelist =     [ 1005.1                    1277.7                    1016.5                    2256.4;
                    912.85                    1190.3                    929.39                    2379.8;
                    1184.1                      2019                    1016.5                    2256.4;
                    973.17                    2317.8                    929.39                    2379.8;
                    864.22                    2472.1                    843.14                    1124.3]


% Plotting graph from its adjacency matrix and xy coordinates
gplot(adjMatrix,linelist,'-o')

thank you
kate
0
Reply Kate 9/14/2010 1:26:03 AM

I don't have whatever toolbox has gplot() in it.  What toolbox is it
in?

Can you use the text() function to place a text string next to the
point that you want labeled?
0
Reply ImageAnalyst 9/14/2010 1:47:44 AM


its in the mathematics standard toolbox in  R2010a. Not sure how to use the text().

thanks
kate
0
Reply Kate 9/14/2010 3:26:19 AM

2 Replies
396 Views

(page loaded in 0.028 seconds)

Similiar Articles:













7/13/2012 2:22:33 PM


Reply: