# Swimmer Plot in Plots.jl

**URL:** <https://discourse.julialang.org/t/swimmer-plot-in-plots-jl/22961>\
**Category:** General Usage\
**Created:** [April 9, 2019, 2:41pm UTC](https://discourse.julialang.org/t/swimmer-plot-in-plots-jl/22961 "2019-04-09T14:41:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Christopher\_Fisher](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/christopher_fisher/32/26132_2.png) [@Christopher\_Fisher](https://discourse.julialang.org/u/Christopher_Fisher)\
**Post date:** [April 9, 2019, 2:41pm UTC](https://discourse.julialang.org/t/swimmer-plot-in-plots-jl/22961/1 "2019-04-09T14:41:53Z")

</div>

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](https://www.researchgate.net/profile/Steffen_Dietz/publication/317501767/figure/fig1/AS:613854383984643@1523365698127/Swimmer-plot-with-therapy-sequences-and-durations-of-different-treatment-lines-for-each.png) 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.
