tset legend font size - sphere - GPU-based 3D discrete element method algorithm… | |
git clone git://src.adamsgaard.dk/sphere | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit cd8486401752a5d3e555cb27304465302f77dee1 | |
parent 5d5529c47876d8318da6410836d06f9a35def036 | |
Author: Anders Damsgaard <[email protected]> | |
Date: Tue, 9 Sep 2014 09:05:55 +0200 | |
set legend font size | |
Diffstat: | |
M python/consolidation-curve.py | 4 ++-- | |
M python/permeability-results.py | 2 +- | |
2 files changed, 3 insertions(+), 3 deletions(-) | |
--- | |
diff --git a/python/consolidation-curve.py b/python/consolidation-curve.py | |
t@@ -92,10 +92,10 @@ plt.ylabel('Thickness change [m]') | |
#plt.ticklabel_format(style='sci', axis='y', scilimits=(0,0)) | |
for c in range(len(c_grad_p_list)): | |
#H[c] /= -min_H_c | |
- plt.semilogx(t[c], H[c], '.-', label='$c$ = %.2f' % (c_grad_p_list[c])) | |
+ plt.semilogx(t[c], H[c], '-', label='$c$ = %.2f' % (c_grad_p_list[c])) | |
plt.grid() | |
-plt.legend(loc=0) | |
+plt.legend(loc=0, prop={'size':18}) | |
plt.tight_layout() | |
filename = 'cons-curves.pdf' | |
plt.savefig(filename) | |
diff --git a/python/permeability-results.py b/python/permeability-results.py | |
t@@ -86,7 +86,7 @@ plt.grid() | |
#plt.plot(dpdz, phi_bar, '+') | |
#plt.grid() | |
-plt.legend(loc='lower left') | |
+plt.legend(loc='lower left', prop={'size':18}) | |
plt.tight_layout() | |
filename = 'permeability-dpdz-vs-K-vs-c.pdf' | |
#print(os.getcwd() + '/' + filename) |