Skip to main content

plotting - How to plot data as (X,Y) points with error bars on Y



I know I need to use ErrorListPlot and a list with elements of the form {{x,y},ErrorBar[e]}. I have x,y,and e all as lists, but I can't figure out how to get a list of of the form...



{ErrorBar[e1],ErrorBar[e2],...,ErrorBar[en]}


... which I'd Riffle together with the list Transpose[{x,y}]. I thought maybe Table[ErrorBar[e[[i]]],{i,1,n}] but I can't use the argument of Part in Table this way.


This should be simple. Maybe I've got some fundamental misunderstanding on plots with error bars?




Comments