This commit is contained in:
Cory Balaton 2023-12-05 19:22:22 +01:00
parent b99abbc291
commit 1913e04594
No known key found for this signature in database
GPG Key ID: 3E5FCEBFD80F432B
2 changed files with 2 additions and 9 deletions

View File

@ -17,8 +17,6 @@ plt.rcParams.update(params)
def plot_1_0():
files = [
# "data/hp/burn_in_time/unordered_1_0_1421110368.txt",
# "data/hp/burn_in_time/ordered_1_0_611577739.txt",
"data/hp/burn_in_time/unordered_1_0.txt",
"data/hp/burn_in_time/ordered_1_0.txt",
]
@ -65,8 +63,6 @@ def plot_1_0():
def plot_2_4():
files = [
# "data/hp/burn_in_time/unordered_2_4_1212892317.txt",
# "data/hp/burn_in_time/ordered_2_4_2408603856.txt",
"data/hp/burn_in_time/unordered_2_4.txt",
"data/hp/burn_in_time/ordered_2_4.txt",
]

View File

@ -17,6 +17,7 @@ params = {
}
plt.rcParams.update(params)
def plot_timing(indir, outdir):
if not (path := Path(outdir)).exists():
makedirs(path)
@ -25,14 +26,10 @@ def plot_timing(indir, outdir):
"lattice_sizes.txt",
"sample_sizes.txt",
]
labels = [
"Lattice sizes",
"Sample sizes",
]
xlabels = ["Lattice size", "Sampling size"]
outfiles = ["lattice_size.pdf", "sample_sizes.pdf"]
for file, label, xlabel, outfile in zip(files, labels, xlabels, outfiles):
for file, xlabel, outfile in zip(files, xlabels, outfiles):
figure1, ax1 = plt.subplots()
x = []
parallel = []