How to draw a plot bars around a mean in Julia?


#1

I basically have some data in a CSV file, which includes two columns, first one is values from 1 to 50, and the second one contains 50 values whose mean is 0, and the values are + or - some small difference from 0. So basically, I want to plot something like this:

I have something like this:

using DataFrames
using Cairo, Gadfly

data = CSV.read("simulate.csv")
p = plot(data, x=:num, y=:value, Geom.point);

But the above generates a point plot. Does, Gadfly let you plot something like in the picture? Of course in my case the mean will be 0.


#2

#3
using Plots
bar(1:50,ur50vals)