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")
2024-11-13T18:12:17.803707 image/svg+xml Matplotlib v3.9.1, https://matplotlib.org/

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