tchange second line color to blue - sphere - GPU-based 3D discrete element method algorithm with optional fluid coupling
HTML git clone git://src.adamsgaard.dk/sphere
DIR Log
DIR Files
DIR Refs
DIR LICENSE
---
DIR commit 035462c0173400bb96da329c5faf5edc67a540a7
DIR parent 3003c0cc9444f41404160b393d041cdb8f53e517
HTML Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date: Mon, 19 Jan 2015 11:29:03 +0100
change second line color to blue
Diffstat:
M python/sphere.py | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
---
DIR diff --git a/python/sphere.py b/python/sphere.py
t@@ -5854,7 +5854,8 @@ class sim:
ax2 = ax1.twinx()
- ax2color = '#666666'
+ #ax2color = '#666666'
+ ax2color = 'blue'
if self.fluid:
ax2.plot(time, self.phi_bar, color=ax2color,
label='Porosity')
t@@ -5878,7 +5879,8 @@ class sim:
if self.fluid:
ax4 = ax3.twinx()
- ax4color = '#666666'
+ #ax4color = '#666666'
+ ax4color = ax2color
ax4.plot(time, self.p_f_bar/1000.0, color=ax4color,
label='Pressure')
ax4.set_ylabel('Mean fluid pressure '