Hi everyone,
I’m trying to understand the output of the below MWE:
using CairoMakie
fig = Figure()
ax=Axis(fig[1, 1])xmins = zeros(10)
xmaxs = [1:5; 3:7]
ys = 1:10hlines!(ax, ys, xmin=xmins, xmax=xmaxs)
I was expecting horizontal lines that went from zero up to xmaxs
stacked on top of each other. Instead I got the below figure:
I also can’t tell exactly from the documentation how the x-axis scaling works.
(I’m trying to create my own barcode plot and ultimately would like to have the different chunks of xmaxs colour coded but first thing’s first.)
Thank you for any suggestions.