ELPlot examples

Needs["ELPlot`"]
?ELPlot

The available options for ELPlot and their standard values:

Options[ELPlot]

All ListPlot options can also be used in ELPlot.

Example 1: basic

For symmetric error bars, the dataerror entry is a vector.

data = RandomReal[10, {10,2} ];
dataerror = RandomReal[{0.5,2}, 10];
ELPlot[data, dataerror, PlotRange-> Full]

For nonsymmetric error bars, the dataerror entry is a matrix.

data = RandomReal[10, {10,2} ];
dataerror = RandomReal[{0.5,2}, {10,2}];
ELPlot[data, dataerror, PlotRange-> Full]

An example that uses the input format of ErroListPlot.

data = {RandomReal[10, {10,2} ][[#]], ErrorBar[RandomReal[{0.5,2}]]}  &/@ Range[10];
ELPlot[data, {}, PlotRange-> Full]

Example 2: further options and compatibility

Needs["CustomTicks`"]
Needs["ELPlot`"]

data = RandomReal[{-10,10}, {20,2} ];
dataerror = RandomReal[3, {20,2}];

data2 = RandomReal[{-10,10}, {20,2} ];
dataerror2 = RandomReal[3, {20,2}];

SetOptions[LinTicks, MajorTickLength->{0.025,0},MinorTickLength->{0.010,0}, MajorTickStyle-> AbsoluteThickness[1],MinorTickStyle-> AbsoluteThickness[1] ];
SetOptions[ListPlot, FrameTicks->{{LinTicks,StripTickLabels[LinTicks]}, {LinTicks,StripTickLabels[LinTicks]}}, Frame -> True, Axes-> False, FrameStyle-> Large, ImageSize-> Large];

Show[ELPlot[data, dataerror, PlotRange-> Full, LinesColor-> Darker[Orange],LinesHorizontalLength-> 0.02, Markers-> hexagonfull, MarkersColor-> Black, MarkersSize-> 14], ELPlot[data2, dataerror2, PlotRange-> All, Markers-> circlecross, MarkersSize-> 14, MarkersColor-> Darker[Red]], Plot[x, {x,-10,10}, PlotStyle->{Black, Thick, Dashed}]]