tchange default color map - 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 5cf8cf60ab4e8fe6aff991a2b56ea3ac01fa0ae9
(DIR) parent 7d1d52e4c892231f8481a147838f6c3f6550c4a2
(HTM) Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date: Fri, 9 Jan 2015 15:08:12 +0100
change default color map
Diffstat:
M python/sphere.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
(DIR) diff --git a/python/sphere.py b/python/sphere.py
t@@ -5787,8 +5787,8 @@ class sim:
p_ext = numpy.max(numpy.abs(pres))
im1 = ax.pcolormesh(t, zpos_c, pres,
- #cmap=matplotlib.cm.get_cmap('bwr'),
- cmap=matplotlib.cm.get_cmap('coolwarm'),
+ cmap=matplotlib.cm.get_cmap('bwr'),
+ #cmap=matplotlib.cm.get_cmap('coolwarm'),
vmin=-p_ext, vmax=p_ext,
rasterized=True)
#ax.set_xlim([0, numpy.max(shear_strain)])