Line styles

Source code Author Update time

using Plots
pythonplot()
styles = filter((s->begin
                s in Plots.supported_styles()
            end), [:solid, :dash, :dot, :dashdot, :dashdotdot])
styles = reshape(styles, 1, length(styles))
plot(cumsum(randn(20, length(styles)), dims = 1), line = (5, styles), label = map(string, styles), legendtitle = "linestyle")
2023-07-25T15:56:18.848175 image/svg+xml Matplotlib v3.7.2, https://matplotlib.org/

This page was generated using DemoCards.jl and Literate.jl.