tcolor y axis ticks - sphere - GPU-based 3D discrete element method algorithm w… | |
git clone git://src.adamsgaard.dk/sphere | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit 3003c0cc9444f41404160b393d041cdb8f53e517 | |
parent 3df8979c87e405c0953c3f6fe2f931390a00f653 | |
Author: Anders Damsgaard <[email protected]> | |
Date: Mon, 19 Jan 2015 11:27:04 +0100 | |
color y axis ticks | |
Diffstat: | |
M python/sphere.py | 4 ++-- | |
1 file changed, 2 insertions(+), 2 deletions(-) | |
--- | |
diff --git a/python/sphere.py b/python/sphere.py | |
t@@ -5863,7 +5863,7 @@ class sim: | |
ax2.plot(time, self.dilation, color=ax2color, | |
label='Dilation') | |
ax2.set_ylabel('Dilation, $\Delta h/(2\\bar{r})$ [-]') | |
- for tl in ax2.get_xticklabels(): | |
+ for tl in ax2.get_yticklabels(): | |
tl.set_color(ax2color) | |
# Lower plot | |
t@@ -5883,7 +5883,7 @@ class sim: | |
label='Pressure') | |
ax4.set_ylabel('Mean fluid pressure ' | |
+ '$\\bar{p_\\text{f}}$ [kPa]') | |
- for tl in ax4.get_xticklabels(): | |
+ for tl in ax4.get_yticklabels(): | |
tl.set_color(ax4color) | |
# axis limits |