Re: ErrorListPlot and Tooltip
- To: mathgroup at smc.vnet.net
- Subject: [mg102801] Re: [mg102768] ErrorListPlot and Tooltip
- From: Bob Hanlon <hanlonr at cox.net>
- Date: Thu, 27 Aug 2009 06:37:25 -0400 (EDT)
- Reply-to: hanlonr at cox.net
Needs["ErrorBarPlots`"];
ErrorListPlot[
{
{Tooltip[{{1, 2}, ErrorBar[.5]}, "test"]},
{Tooltip[{{2, 4}, ErrorBar[.25]}, "test2"]}
},
AxesOrigin -> {0, 0},
PlotRange -> All]
Bob Hanlon
---- Nils Blum-Oeste <Nils.Blum-Oeste at geo.uni-goettingen.de> wrote:
=============
Hi,
I would like to use ErrorListPlot[] with Tooltip[]. It works fine in
this simple example:
ErrorListPlot[
Tooltip[{{1, 0.1}}]
]
But as I want to use custom labels as tooltips I want to do something
like:
ErrorListPlot[
{
Tooltip[{{1, 0.1}, ErrorBar[2]}, "test"]
}
]
The previous example works but the following does not:
ErrorListPlot[
{
Tooltip[{{1, 0.1}, ErrorBar[2]}, "test"],
Tooltip[{{2, 0.1}, ErrorBar[2]}, "test2"]
}
]
An equivalent example with ListPlot[] works fine:
ListPlot[
{
Tooltip[{1, 0.1}, "test"],
Tooltip[{2, 0.1}, "test2"]
}
]
Does someone know how to do this?
Thanks in advance,
Nils Blum-Oeste