This commit is contained in:
kai
2025-04-26 13:40:52 +02:00
parent 66504888c3
commit fdd1c2b89c
2 changed files with 5 additions and 4 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 36 KiB

After

Width:  |  Height:  |  Size: 36 KiB

View File

@@ -25,18 +25,19 @@ plt.plot(
data_single["error"],
color="blue",
label="single",
linewidth=0.1,
linewidth=0.2,
)
plt.plot(
data_multi["error"].index * 5000,
data_multi["error"],
color="red",
label="multi",
linewidth=0.1,
linewidth=0.2,
)
plt.xlabel("time")
plt.legend()
plt.xlabel("n")
plt.ylabel("error")
plt.title("pin Monte Carlo Benchmark")
plt.title("pi Monte Carlo Benchmark")
plt.grid(True)
plt.tight_layout()
plt.savefig("mein_plot.png")