aboutsummaryrefslogtreecommitdiff
path: root/python/slope.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/slope.py')
-rwxr-xr-xpython/slope.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/python/slope.py b/python/slope.py
index cd388d2..29d967e 100755
--- a/python/slope.py
+++ b/python/slope.py
@@ -90,7 +90,8 @@ def detach_display():
right = ax2.imshow(dzdy,
interpolation='nearest',
origin='lower',
- norm=colors.Normalize(vmin=0, vmax=0.1))
+ cmap=plt.get_cmap('rainbow'))
+ # norm=colors.Normalize(vmin=0, vmax=0.1))
ax2.set_title('slope ($dz/dy$)')
# ax2.set_xticks([0, 100, 200, 300, 400, 500])
fig.colorbar(right, ax=ax2)