Depression

This commit is contained in:
Marius Drechsler 2024-07-30 22:51:56 +02:00
parent 4346630b65
commit c169ee10e6
81 changed files with 25216 additions and 21 deletions

View file

@ -0,0 +1,30 @@
#import "@preview/cetz:0.2.2": canvas, plot
#let data25 = csv("../../data/errorrates/2bit_temp/reconstruction/errorrates_left_25_25.csv")
#let ndata25 = data25.map(value => value.map(v => float(v)))// fucking hell is that cursed
#let data5 = csv("../../data/errorrates/2bit_temp/reconstruction/errorrates_left_25_5.csv")
#let ndata5 = data5.map(value => value.map(v => float(v)))
#let data35 = csv("../../data/errorrates/2bit_temp/reconstruction/errorrates_left_25_35.csv")
#let ndata35 = data35.map(value => value.map(v => float(v)))
#let data55 = csv("../../data/errorrates/2bit_temp/reconstruction/errorrates_left_25_55.csv")
#let ndata55 = data55.map(value => value.map(v => float(v)))
#let dashed = (stroke: (dash: "dashed"))
#canvas({
plot.plot(size: (10,1),
x-tick-step: none,
y-label: $E(1)$,
x-label: $m$,
y-tick-step: none,
axis-style: "left",
x-min: 0,
{
plot.add((ndata25), mark: "o", mark-size: 0.001)
plot.add((ndata5), mark: "o", mark-size: 0.001)
plot.add((ndata35), mark: "o", mark-size: 0.001)
plot.add((ndata55), mark: "o", mark-size: 0.001)
})
})

View file

@ -20,14 +20,16 @@
#let formatter(v) = [$10^#v$]
#let dashed = (stroke: (dash: "dashed"))
#canvas({
plot.plot(size: (10,5),
x-tick-step: none,
//x-ticks: ((1, [1]), (2, [2]), (3, [3]), (4, [4]), (5, [5]), (6, [6])),
x-ticks: ((0.04, [2]),(2, [100])),
y-label: $"Bit error rate"$,
x-label: $s$,
y-tick-step: 1,
x-max: 2,
//y-ticks : (
// (-1.5, calc.exp(-1.5)),
//),