From 6f4030bd3508a092f80edc2c056216886d9ce7bb Mon Sep 17 00:00:00 2001 From: Paul Garlick Date: Wed, 22 Dec 2021 22:48:54 +0000 Subject: specificPoints.py: Specify line colour. * fullswof-utils/specificPoints.py: Edit plot command. --- fullswof-utils/specificPoints.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'fullswof-utils') 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) -- cgit