generated from marius/TUM_Slides
More work on presentation
This commit is contained in:
parent
da61687db3
commit
74e8413532
15 changed files with 1240 additions and 5 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: 3pt))
|
||||
#let dashed = (stroke: (dash: "dashed"))
|
||||
#canvas({
|
||||
plot.plot(size: (11,5),
|
||||
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: 3pt)), /*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