diff --git a/cpp/showgraphs.m b/cpp/showgraphs.m index 8d0daf467e86d15e6db6885e3359cf74adceffe5..0bfb52839469439e7be1f2dd7ce663204fc5513e 100644 --- a/cpp/showgraphs.m +++ b/cpp/showgraphs.m @@ -3,8 +3,11 @@ gsraw=Import[NotebookDirectory[]<>"graphdata.m"]; -gs=Map[Graph[#,GraphLayout->"CircularEmbedding"]&,gsraw]; -gs2=Map[Graph[#,GraphLayout->Automatic]&,gsraw]; +ListPlot[gsraw[[2]],Joined->True,PlotRange->All,AxesLabel->{"Step","Triangles"}] + + +gs=Map[Graph[#,GraphLayout->"CircularEmbedding"]&,gsraw[[1]]]; +gs2=Map[Graph[#,GraphLayout->Automatic]&,gsraw[[1]]]; Grid[Partition[gs,10],Frame->All]