Changeset - 4493466dd03d
[Not reviewed]
0 0 1
Tom Bannink - 8 years ago 2017-08-30 16:58:00
tom.bannink@cwi.nl
Add canonical timeevol mathematica file
1 file changed with 22 insertions and 0 deletions:
0 comments (0 inline, 0 general)
triangle_canonical_timeevol.m
Show inline comments
 
new file 100644
 
(* ::Package:: *)
 

	
 
gsraw=Import[NotebookDirectory[]<>"data/graphdata_canonical_timeevol.m"];
 
gdata=GatherBy[gsraw,{#[[1,2]]&,#[[1,1]]&}];
 
(* Data format: *)
 
(* gdata[[ tau index, n index, run index, datatype index ]] *)
 
(* datatype index:
 
1: {n,tau}
 
2: { triangles }
 
*)
 

	
 

	
 
tauChoice=3;
 
runs=1;;5;
 
Map[
 
ListPlot[#[[1,runs,2,1;;3000]],
 
Joined->True,
 
PlotRange->Automatic,
 
Frame->True,
 
FrameLabel->{"timesteps","number of triangles"},
 
ImageSize->300
 
]&,gdata]
0 comments (0 inline, 0 general)