minor qol to plotting

This commit is contained in:
alexmadison 2022-02-28 10:46:41 +01:00
parent 1510746bfa
commit 6db6a2072b
1 changed files with 5 additions and 0 deletions

View File

@ -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.")