Bar

Source code Author Update time

using Plots
gr()

bar(x, y) plots bars with heights y and centers at x. x defaults to eachindex(y).

plot(bar(randn(10)), bar([0, 3, 5], [1, 2, 6]), legend = false)

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