Display a moving graph snapshot.
[F] = NL_M_GraphDisplayUpdate(G,I,R,C)
Graph.
Window index.
Node radius.
Color.
Graph handle.
NL_M_GraphDisplayUpdate display a snapshot of the moving graph G inside the window of index I and handle F. Each node is displayed with the radius R and the color C.
n=100; cr=50; L=1000; nx=L*rand(1,n);//current x-coordinate of all nodes ny=L*rand(1,n);//current y-coordinate of all nodes n=3; cr=250; nx=[100 200 300]; ny=[100 300 100]; t=[]; h=[]; name='network'; [g]=NL_G_MakeGraph(name,n,t,h,nx,ny);//creation of a network graph [h,t]=NL_M_Locality(g.node_x,g.node_y,cr);//application of NL_M_Locality g.head=h; g.tail=t; i=1;//window index name="mobility";//name f=NL_M_Background(i,name);//initialization of the network area r=30;//radius c=2;//color f=NL_M_GraphDisplayUpdate(g,i,r,c);//application of NL_M_NetworkDisplayUpdate | ![]() | ![]() |