Error List Plot with Legends
- To: mathgroup at smc.vnet.net
- Subject: [mg107654] Error List Plot with Legends
- From: Ramiro <ramiro.barrantes at gmail.com>
- Date: Mon, 22 Feb 2010 03:07:39 -0500 (EST)
Any suggestions on how to add a legend in an ErrorBarPlot?
The simple PlotLegend option that used to work on ListPlot doesn't
work here.
Needs["ErrorBarPlots`"];
Needs["PlotLegends`"];
ListPlot[{Table[i, {i, 10}], Table[i + 3, {i, 10}]}, Joined -> True,
PlotLegend -> {"A", "B"}]
ErrorListPlot[{Table[{i, RandomReal[0.5]}, {i, 10}],
Table[{i + 3, RandomReal[0.5]}, {i, 10}]}, Joined -> True,
PlotLegend -> {"A", "B"}]