Consider the following simple example of using ListPlot
with Labeled
data:
ListPlot[
RandomReal[{-1, 1}, {2, 6}] // Map[Labeled[#, "Test"] &]
]
So far, so good. Now, I want to do the same with an ErrorListPlot
, and thus write
Needs["ErrorBarPlots`"];
ErrorListPlot[
RandomReal[{-1, 1}, {2, 6}] // Map[({#, 0.2} &), #, {2}] & //
Map[Labeled[#, "Test"] &]
]
Unfortunately, this just gives me a blank plot.
Why does this happen? Is there a way to use Labeled
(or similar functionality) to work with an ErrorListPlot
(possibly without having to reimplement it with Graphics
primitives)? Note that I'm aware that I can use PlotLegends
, but that's not what I am looking for (unless it can be used to produce the same kind of output as Labeled
).
ErrorListPlot
is obsolete, unmaintained, and likely hasn't been updated to support wrappers.. Why not useAround
withListPlot
/ListLinePlot
? $\endgroup$Around
. That seems to be the ideal solution, but I don't have v12 so I guess I can't use it right now $\endgroup$