tadded labels - sphere - GPU-based 3D discrete element method algorithm with op… | |
git clone git://src.adamsgaard.dk/sphere | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit bde2c9f40250688b02ca1b47caab3d7aabb959bf | |
parent d17e9bc8044caf0b3e77cbf286934808fcc4bc29 | |
Author: Anders Damsgaard Christensen <[email protected]> | |
Date: Sun, 7 Apr 2013 04:38:51 +0200 | |
added labels | |
Diffstat: | |
M python/sphere.py | 11 +++++++---- | |
1 file changed, 7 insertions(+), 4 deletions(-) | |
--- | |
diff --git a/python/sphere.py b/python/sphere.py | |
t@@ -1440,10 +1440,13 @@ class Spherebin: | |
plt.figure(figsize=[4, 4]) | |
- ax = subplot(111) | |
- ax.scatter(self.xysum[:,0], self.x[:,2], c='k', marker='+') | |
- ax.errorbar(xdisp, zpos, xerr=err, linestyle='-') | |
- plt.savefit(self.sid + '-sheardisp.' + outformat, transparent=True) | |
+ ax = plt.subplot(111) | |
+ ax.scatter(self.xysum[:,0], self.x[:,2], c='gray', marker='+') | |
+ ax.errorbar(xdisp, zpos, xerr=err, | |
+ c='black', linestyle='-', linewidth=1.4) | |
+ ax.set_xlabel("Horizontal particle displacement, [m]") | |
+ ax.set_ylabel("Vertical position, [m]") | |
+ plt.savefig(self.sid + '-sheardisp.' + outformat, transparent=True) | |