Write IP Bericht
This commit is contained in:
commit
1ef5c20317
39 changed files with 2040 additions and 0 deletions
27
graphics/background/z_distribution.typ
Normal file
27
graphics/background/z_distribution.typ
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
#import "@preview/cetz:0.3.4": canvas
|
||||
#import "@preview/cetz-plot:0.1.1": plot, chart
|
||||
|
||||
#let data = csv("z_distribution.csv")
|
||||
#let data = data.map(value => value.map(v => float(v)))
|
||||
|
||||
#let line_style = (stroke: (paint: black, thickness: 2pt))
|
||||
#let dashed = (stroke: (dash: "dashed"))
|
||||
#canvas({
|
||||
plot.plot(size: (6,3),
|
||||
legend : "south",
|
||||
legend-style: (orientation: ltr, item: (spacing: 0.5)),
|
||||
x-tick-step: none,
|
||||
x-ticks: ((0, [0]), (100, [0])),
|
||||
y-label: $cal(Q)(1, z), abs(f_"Z" (z))$,
|
||||
x-label: $z$,
|
||||
y-tick-step: none,
|
||||
y-ticks: ((0, [0]), (0.6, [1])),
|
||||
axis-style: "left",
|
||||
x-min: -5,
|
||||
x-max: 5,
|
||||
y-min: 0,
|
||||
y-max: 0.6,{
|
||||
plot.add((data), style: (stroke: (paint: red, thickness: 2pt)), label: [Optimierte PDF])
|
||||
plot.add(((-5, 0), (0, 0), (0, 0.6), (5, 0.6)), style: line_style, label: [Quantisierer])
|
||||
})
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue