aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Garlick <pgarlick@tourbillion-technology.com>2021-12-22 22:48:54 +0000
committerPaul Garlick <pgarlick@tourbillion-technology.com>2021-12-22 22:48:54 +0000
commit6f4030bd3508a092f80edc2c056216886d9ce7bb (patch)
treed680abe765b5d3fea910e79647f39d8ac0400b29
parent7d1b0725ebe5c41cab835394afc230f1aeb2de3a (diff)
downloadfullSWOF-utils-6f4030bd3508a092f80edc2c056216886d9ce7bb.tar.gz
specificPoints.py: Specify line colour.
* fullswof-utils/specificPoints.py: Edit plot command.
-rwxr-xr-xfullswof-utils/specificPoints.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/fullswof-utils/specificPoints.py b/fullswof-utils/specificPoints.py
index 0f27911..486399b 100755
--- a/fullswof-utils/specificPoints.py
+++ b/fullswof-utils/specificPoints.py
@@ -12,7 +12,7 @@ def detach_display():
'hu_specific_points.dat', delimiter='\t', unpack=True)
plt.xlabel('time / s')
plt.ylabel('water height / m')
- plt.plot(t,h, label='elevation')
+ plt.plot(t,h, color='tab:cyan', label='elevation')
#ax.yaxis.set_minor_locator(MultipleLocator(200))
#plt.grid(True, which='minor')
@@ -25,7 +25,7 @@ def detach_display():
'hu_specific_points.dat', delimiter='\t', unpack=True)
plt.xlabel('time / s')
plt.ylabel('water height / m')
- plt.plot(t,h, label='elevation')
+ plt.plot(t,h, color='tab:cyan', label='elevation')
fig.canvas.draw()
fig.canvas.mpl_connect('key_press_event', on_press)