In plots, how do I add error bars in both x and y direction

I can plot error bars in y axis, but if I want in x axis as well. I.e. something like this:

Very much ideally I would be interested in how to do this in Plots.jl.

The answer is the xerr argument (and there is an yerr as well).

1 Like