graph changes

main
Brett 2025-01-08 19:15:41 -05:00
parent 56b54ed78e
commit f9d57b3579
2 changed files with 1 additions and 4 deletions

View File

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

View File

@ -21,9 +21,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='--')
ax.text(position, ax.get_ylim()[1] * 0.95, f"Feed-forward average # of epochs", color='red', fontsize=10, ha='right', va='top', backgroundcolor='white') ax.text(position, ax.get_ylim()[1] * 0.95, f"Feed-forward average # of epochs", color='red', fontsize=10, ha='right', va='top', backgroundcolor='white')