graph changes
parent
56b54ed78e
commit
f9d57b3579
|
@ -1,5 +1,5 @@
|
||||||
cmake_minimum_required(VERSION 3.25)
|
cmake_minimum_required(VERSION 3.25)
|
||||||
project(COSC-4P80-Final-Project VERSION 0.0.18)
|
project(COSC-4P80-Final-Project VERSION 0.0.19)
|
||||||
|
|
||||||
option(ENABLE_ADDRSAN "Enable the address sanitizer" OFF)
|
option(ENABLE_ADDRSAN "Enable the address sanitizer" OFF)
|
||||||
option(ENABLE_UBSAN "Enable the ub sanitizer" OFF)
|
option(ENABLE_UBSAN "Enable the ub sanitizer" OFF)
|
||||||
|
|
3
graph.py
3
graph.py
|
@ -20,9 +20,6 @@ def plot_stacked_graph(title, output, csv_file1, csv_file2, position, position2)
|
||||||
|
|
||||||
ax.plot(x1, y1, label=f"{csv_file1}")
|
ax.plot(x1, y1, label=f"{csv_file1}")
|
||||||
ax.plot(x2, y2, label=f"{csv_file2}")
|
ax.plot(x2, y2, label=f"{csv_file2}")
|
||||||
|
|
||||||
ax.fill_between(x1, y1, alpha=0.5)
|
|
||||||
ax.fill_between(x2, y2, alpha=0.5)
|
|
||||||
|
|
||||||
if position < 2 ** 32:
|
if position < 2 ** 32:
|
||||||
ax.axvline(x=position, color='red', linestyle='--')
|
ax.axvline(x=position, color='red', linestyle='--')
|
||||||
|
|
Loading…
Reference in New Issue