Line styles

Source code Author Update time

using Plots
gaston()
styles = filter((s->begin
                s in PlotsBase.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")
Gnuplot Produced by GNUPLOT 5.4 patchlevel 2 -6 -3 0 3 6 5 10 15 20 solid dash dot dashdot dashdotdot linestyle solid solid dash dash dot dot dashdot dashdot dashdotdot dashdotdot

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