[cig-commits] [commit] add_thermodynamic_potentials: Overlay screengrabs (d13f83f)
cig_noreply at geodynamics.org
cig_noreply at geodynamics.org
Tue Dec 9 09:55:44 PST 2014
Repository : https://github.com/geodynamics/burnman
On branch : add_thermodynamic_potentials
Link : https://github.com/geodynamics/burnman/compare/2e5646d93cedbbf8eae54cc37cffc14e0aa85180...d5ddad03ff9f30f5a4efaddb4e3ec585ea1a7c51
>---------------------------------------------------------------
commit d13f83fc1e0a3791c6759bd8ba7b383067f01260
Author: ian-r-rose <ian.r.rose at gmail.com>
Date: Wed Sep 3 11:11:05 2014 -0700
Overlay screengrabs
>---------------------------------------------------------------
d13f83fc1e0a3791c6759bd8ba7b383067f01260
configurational_entropy.png | Bin 0 -> 97173 bytes
dicats.png | Bin 0 -> 152691 bytes
solidsolution_benchmarks.py | 8 ++++----
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/configurational_entropy.png b/configurational_entropy.png
new file mode 100644
index 0000000..83d0ec5
Binary files /dev/null and b/configurational_entropy.png differ
diff --git a/dicats.png b/dicats.png
new file mode 100644
index 0000000..4c83d45
Binary files /dev/null and b/dicats.png differ
diff --git a/solidsolution_benchmarks.py b/solidsolution_benchmarks.py
index 21c8917..d3778d2 100644
--- a/solidsolution_benchmarks.py
+++ b/solidsolution_benchmarks.py
@@ -143,8 +143,8 @@ for idx, model in enumerate(opx_models):
-#fig1 = mpimg.imread('configurational_entropy.png') # Uncomment these two lines if you want to overlay the plot on a screengrab from SLB2011
-#plt.imshow(fig1, extent=[0.0, 1.0,0.,17.0], aspect='auto')
+fig1 = mpimg.imread('configurational_entropy.png') # Uncomment these two lines if you want to overlay the plot on a screengrab from SLB2011
+plt.imshow(fig1, extent=[0.0, 1.0,0.,17.0], aspect='auto')
plt.plot( comp, opx_entropies[0], 'r--', linewidth=3.)
plt.plot( comp, opx_entropies[1], 'b--', linewidth=3.)
plt.plot( comp, opx_entropies[2], 'g--', linewidth=3.)
@@ -232,8 +232,8 @@ for i,c in enumerate(comp):
gibbs[i] = cpx.excess_gibbs
-#fig1 = mpimg.imread('dicats.png') # Uncomment these two lines if you want to overlay the plot on a screengrab from SLB2011
-#plt.imshow(fig1, extent=[0.0, 1.0,-2.,8.0], aspect='auto')
+fig1 = mpimg.imread('dicats.png') # Uncomment these two lines if you want to overlay the plot on a screengrab from SLB2011
+plt.imshow(fig1, extent=[0.0, 1.0,-2.,8.0], aspect='auto')
plt.plot( comp, gibbs/1000., 'b--', linewidth=3.)
plt.xlim(0.0,1.0)
More information about the CIG-COMMITS
mailing list