Plot.plot({
width: 1100, height: 190, marginTop: 30, marginLeft: 78, marginRight: 110, style: {fontSize: "18px"},
x: {label: null}, y: {label: "x and forecasts", domain: [-3, 6]},
marks: [
Plot.dot(brk, {x: "t", y: "x", r: 2, fill: "#aaaaaa"}),
Plot.line(brk, {x: "t", y: "rec", stroke: "#2f4b7c", strokeWidth: 3}),
Plot.line(brk, {x: "t", y: "rol", stroke: "#8b2635", strokeWidth: 3}),
Plot.text([{t: 300, y: brk.at(-1).rec}], {x: "t", y: "y", text: () => "recursive", dx: 50, dy: 14, fontSize: 18, fill: "#2f4b7c"}),
Plot.text([{t: 300, y: brk.at(-1).rol}], {x: "t", y: "y", text: () => "rolling", dx: 50, dy: -14, fontSize: 18, fill: "#8b2635"})
]
})