Ribbons

Source code Author Update time

using Plots
gaston()

Ribbons can be added to lines via the ribbon keyword; you can pass a tuple of arrays (upper and lower bounds), a single Array (for symmetric ribbons), a Function, or a number.

plot(plot(0:10; ribbon = (LinRange(0, 2, 11), LinRange(0, 1, 11))), plot(0:10; ribbon = 0:0.5:5), plot(0:10; ribbon = sqrt), plot(0:10; ribbon = 1))
Gnuplot Produced by GNUPLOT 5.4 patchlevel 2 0.0 2.5 5.0 7.5 10.0 2 4 6 8 10 y1 gnuplot_plot_2a y1 y1 gnuplot_plot_2a 0 2 4 6 8 10 12 2 4 6 8 10 y1 gnuplot_plot_2b y1 y1 gnuplot_plot_2b 0 5 10 15 2 4 6 8 10 y1 gnuplot_plot_2c y1 y1 gnuplot_plot_2c 0.0 2.5 5.0 7.5 10.0 2 4 6 8 10 y1 gnuplot_plot_2d y1 y1 gnuplot_plot_2d

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