Esimerkki diskr. jakaumat

a = BarChart({2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}, {1 / 36, 2 / 36, 3 / 36, 4 / 36, 5 / 36, 6 / 36, 5 / 36, 4 / 36, 3 / 36, 2 / 36, 1 / 36}, 0.01)
F(x) = (0 * (x < 2)) + (1 / 36 * (2 ≤ x < 3)) + (3 / 36 * (3 ≤ x < 4)) + (6 / 36 * (4 ≤ x < 5)) + (10 / 36 * (5 ≤ x < 6)) + (15 / 36 * (6 ≤ x < 7)) + (21 / 36 * (7 ≤ x < 8)) + (26 / 36 * (8 ≤ x < 9)) + (30 / 36 * (9 ≤ x < 10)) + (33 / 36 * (10 ≤ x < 11)) + (35 / 36 * (11 ≤ x < 12)) + (36 / 36 * (12 ≤ x))
Sequence(4, 4, 0, 4)
Min(x(Point[xAxis]) + 1.5, x(Point[xAxis]) + 1.5)
Max(x(Point[xAxis]) + 1.5, x(Point[xAxis]) + 1.5)