tadd grid by default - 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 665811d1559586641cc8d1d12ce32dde5d5982ae
(DIR) parent 100a2ecc575361494f17b4b1ad76ffc9c44e30f5
(HTM) Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date: Tue, 20 Jan 2015 11:51:57 +0100
add grid by default
Diffstat:
M python/sphere.py | 1 +
1 file changed, 1 insertion(+), 0 deletions(-)
---
(DIR) diff --git a/python/sphere.py b/python/sphere.py
t@@ -5209,6 +5209,7 @@ class sim:
t = numpy.linspace(self.time_current[0], self.time_total[0], steps_left)
f = A*numpy.sin(2.0*numpy.pi*f*t + phi)
plt.plot(t, f, plotstyle)
+ plt.grid()
plt.xlabel(xlabel)
plt.ylabel(ylabel)
filename = self.sid + '-sin.' + outformat