|
From: <mm...@us...> - 2012-12-10 18:56:21
|
Revision: 3312
http://dmcs.svn.sourceforge.net/dmcs/?rev=3312&view=rev
Author: mmsc
Date: 2012-12-10 18:56:13 +0000 (Mon, 10 Dec 2012)
Log Message:
-----------
Start working on gnuplot scripts.
Modified Paths:
--------------
dmcs/branches/dmcs1.5/examples/test/tables.py
Added Paths:
-----------
dmcs/branches/dmcs1.5/examples/test/opt-wins-nonopt-nonstreaming.gp
Added: dmcs/branches/dmcs1.5/examples/test/opt-wins-nonopt-nonstreaming.gp
===================================================================
--- dmcs/branches/dmcs1.5/examples/test/opt-wins-nonopt-nonstreaming.gp (rev 0)
+++ dmcs/branches/dmcs1.5/examples/test/opt-wins-nonopt-nonstreaming.gp 2012-12-10 18:56:13 UTC (rev 3312)
@@ -0,0 +1,34 @@
+#TODO: decide test cases to be put in this comparison
+
+set term postscript eps enhanced font "Helvetica,16" size 18cm,6cm
+set termoption font "Helvetica,16"
+set out "opt-wins-nonopt-nonstreaming.eps"
+
+set key at 0.5,800
+
+set logscale y
+
+set style data histogram
+set style histogram gap 0
+
+unset xtics
+set xtics nomirror norotate font ",0.01"
+
+set style fill solid border 0
+set style line 1 lc rgb "blue" linewidth -1 linetype 1
+set style line 2 lc rgb "green" linewidth -1 linetype 1
+set style line 3 lc rgb "blue" linewidth -1 linetype 1
+set style line 4 lc rgb "green" linewidth -1 linetype 1
+set style line 5 lc rgb "blue" linewidth -1 linetype 1
+set style line 6 lc rgb "green" linewidth -1 linetype 1
+set style line 7 lc rgb "blue" linewidth -1 linetype 1
+set style line 8 lc rgb "green" linewidth -1 linetype 1
+set style increment user
+
+plot newhistogram "D(4,10,5,5)" lt 1, '../data/diamond-4-10-5-5.dat' using 1 title "DMCS", '' using 3 title "DMCSOPT",\
+ newhistogram "D(7,10,5,5)" lt 1, '../data/diamond-7-10-5-5.dat' using 1 notitle, '' using 3 notitle,\
+ newhistogram "D(10,10,5,5)" lt 1, '../data/diamond-10-10-5-5.dat' using 1 notitle, '' using 3 notitle,\
+ newhistogram "D(13,10,5,5)" lt 1, '../data/diamond-13-10-5-5.dat' using 1 notitle, '' using 3 notitle
+
+!epstopdf opt-wins-nonopt-nonstreaming.eps && rm opt-wins-nonopt-nonstreaming.eps
+exit
\ No newline at end of file
Modified: dmcs/branches/dmcs1.5/examples/test/tables.py
===================================================================
--- dmcs/branches/dmcs1.5/examples/test/tables.py 2012-12-10 11:32:29 UTC (rev 3311)
+++ dmcs/branches/dmcs1.5/examples/test/tables.py 2012-12-10 18:56:13 UTC (rev 3312)
@@ -300,7 +300,7 @@
# which parameter setting we are on now?
instance = current_test_case[0]
test_name = topo + '-' + instance[1] + '-' + instance[2] + '-' + instance[3] + '-' + instance[4]
- path = 'output/' + topo + '/' + test_name
+ path = 'output/' + topo
print path
if not os.path.exists(path):
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|