tadd grid lines - sphere - GPU-based 3D discrete element method algorithm with optional fluid coupling
HTML git clone git://src.adamsgaard.dk/sphere
DIR Log
DIR Files
DIR Refs
DIR LICENSE
---
DIR commit 273163fa6c1dba80c88137ac172a5d0a6df10a64
DIR parent 68611366983468daf0076ebd3b184d8ad28a8696
HTML Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date: Tue, 14 Apr 2015 21:21:43 +0200
add grid lines
Diffstat:
M python/halfshear-darcy-strain.py | 2 ++
1 file changed, 2 insertions(+), 0 deletions(-)
---
DIR diff --git a/python/halfshear-darcy-strain.py b/python/halfshear-darcy-strain.py
t@@ -170,6 +170,8 @@ ax[0].get_xaxis().tick_bottom()
ax[0].get_yaxis().tick_left()
ax[0].get_xaxis().grid(False) # horizontal grid lines
#ax[0].get_yaxis().grid(True, linestyle='--', linewidth=0.5) # vertical grid lines
+ax[0].get_xaxis().grid(True, linestyle=':', linewidth=0.5) # vertical grid lines
+ax[0].get_yaxis().grid(True, linestyle=':', linewidth=0.5) # vertical grid lines
# reverse legend order
handles, labels = ax[0].get_legend_handles_labels()