From 6db6a2072b54c99b88cd242dc5ff465c73fe76f3 Mon Sep 17 00:00:00 2001 From: alexmadison Date: Mon, 28 Feb 2022 10:46:41 +0100 Subject: [PATCH] minor qol to plotting --- test/prsim_plot.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/prsim_plot.py b/test/prsim_plot.py index 2805d0e..f71283d 100755 --- a/test/prsim_plot.py +++ b/test/prsim_plot.py @@ -31,6 +31,7 @@ Use -exclude='regex' to specify signals to exclude (or -ex).""") assert len(entries) >= 1, "Could not find signal info in prsim.out!" # Check if user gave a colour specification + # default is Michele's atm colour_undefined = (100,100,100) colour_high = (98, 187, 93) colour_low = (233, 115, 115) @@ -45,6 +46,10 @@ Use -exclude='regex' to specify signals to exclude (or -ex).""") colour_undefined = (255,0,0) colour_high = (252, 186, 3) colour_low = (20, 184, 186) + if r[0] == "michele": + colour_undefined = (100,100,100) + colour_high = (98, 187, 93) + colour_low = (233, 115, 115) else: raise Exception("Unknown colour given. I cba to code up general colours atm.")