tadd grid by default - sphere - GPU-based 3D discrete element method algorithm … | |
git clone git://src.adamsgaard.dk/sphere | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit 665811d1559586641cc8d1d12ce32dde5d5982ae | |
parent 100a2ecc575361494f17b4b1ad76ffc9c44e30f5 | |
Author: Anders Damsgaard <[email protected]> | |
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(-) | |
--- | |
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_lef… | |
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 |