[cig-commits] r19939 - short/3D/PyLith/benchmarks/trunk/static/performance/solvertest
brad at geodynamics.org
brad at geodynamics.org
Thu Apr 12 11:49:25 PDT 2012
Author: brad
Date: 2012-04-12 11:49:24 -0700 (Thu, 12 Apr 2012)
New Revision: 19939
Modified:
short/3D/PyLith/benchmarks/trunk/static/performance/solvertest/plot_scaling.py
Log:
Updated plot script for scaling (uniform font size).
Modified: short/3D/PyLith/benchmarks/trunk/static/performance/solvertest/plot_scaling.py
===================================================================
--- short/3D/PyLith/benchmarks/trunk/static/performance/solvertest/plot_scaling.py 2012-04-12 18:47:55 UTC (rev 19938)
+++ short/3D/PyLith/benchmarks/trunk/static/performance/solvertest/plot_scaling.py 2012-04-12 18:49:24 UTC (rev 19939)
@@ -72,7 +72,7 @@
data[c][s][ip] = log.__getattribute__(sattr).time / nprocs[ip]
figure = matplotlibext.Figure()
-figure.open(3.0, 5.25, margins=[[0.6, 0, 0.1], [0.5, 0.4, 0.05]], dpi=150)
+figure.open(3.0, 5.25, margins=[[0.5, 0, 0.1], [0.42, 0.4, 0.05]], dpi=150)
ax = figure.axes(2.0+header, 1, 1.0+header, 1)
@@ -92,10 +92,10 @@
dashes=styledict[s][1])
ax.set_xlim((1, 128))
-#ax.set_xlabel("# Processors", fontsize=10)
+#ax.set_xlabel("# Processors")
ax.set_ylim((0.01, 1000))
-ax.set_ylabel("Time (s)", fontsize=10)
+ax.set_ylabel("Time (s)")
import matplotlib.lines as lines
proxies = []
@@ -127,11 +127,11 @@
ax.hold(True)
ax.set_xlim((1, 128))
-ax.set_xlabel("# Processors", fontsize=10)
+ax.set_xlabel("# Processors")
ax.set_ylim((0, 150))
-ax.set_ylabel("# Iterations", fontsize=10)
+ax.set_ylabel("# Iterations")
pyplot.show()
-pyplot.savefig('scaling.pdf')
+pyplot.savefig('solvertest_scaling')
More information about the CIG-COMMITS
mailing list