errorbar
lq.errorbar(kind: "x", cap: 3pt, stroke: auto, cap-stroke: auto)(source)An error bar object for a plot. This type allows for quick configuration and
complete restyling of error bars. For drawing plots with error bars,
use plot.
#lq.diagram(
lq.plot(
(1, 2, 3, 4),
(1, 2, 1.5, 2.1),
xerr: .2,
yerr: (.2, .1, .2, .2),
)
)
The default styling can be changed through set rules
#show: lq.set-errorbar(stroke: 1pt + red, cap: none)
#lq.diagram(
lq.plot(
(1, 2, 3, 4),
(1, 2, 1.5, 2.1),
xerr: .2,
yerr: (.2, .1, .2, .2),
)
)