tset legend font size - sphere - GPU-based 3D discrete element method algorithm with optional fluid coupling
(HTM) git clone git://src.adamsgaard.dk/sphere
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) LICENSE
---
(DIR) commit cd8486401752a5d3e555cb27304465302f77dee1
(DIR) parent 5d5529c47876d8318da6410836d06f9a35def036
(HTM) Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
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(-)
---
(DIR) 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)
(DIR) 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)