Swimmer Plot in Plots.jl

#1

I am trying to display several processes across time as a swimmer plot. Each horizontal bar or “lane” is color coded and represents whether a given process is active at a particular time. Is it possible to do this in Plots.jl?

Here is the closest example I could find. The primary difference is that the plot I would like to create needs a single but unique color for each lane and the black lines are not necessary.

Thanks.

0 Likes