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
26
graphics/background/two-bit-enroll.typ
Normal file
26
graphics/background/two-bit-enroll.typ
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
#import "@preview/cetz:0.3.4": canvas, draw, palette
|
||||
#import "@preview/cetz-plot:0.1.1": plot, chart
|
||||
|
||||
#let line_style = (stroke: (paint: black, thickness: 3pt))
|
||||
#let dashed = (stroke: (dash: "dashed"))
|
||||
#canvas({
|
||||
import draw: *
|
||||
set-style(axes: (shared-zero: false))
|
||||
plot.plot(size: (8,6),
|
||||
x-tick-step: none,
|
||||
x-ticks: ((0.25, [$g_1$]), (0.5, [0]), (0.75, [$g_2$])),
|
||||
y-label: $cal(Q)(2, 1, tilde(x))$,
|
||||
x-label: $tilde(x)$,
|
||||
y-tick-step: none,
|
||||
y-ticks: ((0.25, [00]), (0.5, [01]), (0.75, [10]), (1, [11])),
|
||||
axis-style: "left",
|
||||
//x-min: 0,
|
||||
x-max: 1,
|
||||
y-min: 0,
|
||||
y-max: 1,{
|
||||
plot.add(((0,0.25), (0.25,0.25), (0.5,0.5), (0.75,0.75), (1, 1)), line: "vh", style: line_style)
|
||||
//plot.add(((0,0), (0,0)), style: (stroke: none))
|
||||
plot.add-hline(0.25, 0.5, 0.75, 1, style: dashed)
|
||||
plot.add-vline(0.25, 0.5, 0.75, 1, style: dashed)
|
||||
})
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue