Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2009

[Date Index] [Thread Index] [Author Index]

Search the Archive

ErrorListPlot and Tooltip

  • To: mathgroup at smc.vnet.net
  • Subject: [mg102768] ErrorListPlot and Tooltip
  • From: Nils Blum-Oeste <Nils.Blum-Oeste at geo.uni-goettingen.de>
  • Date: Wed, 26 Aug 2009 07:55:17 -0400 (EDT)

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




  • Prev by Date: Re: Strange behavior: random and plot
  • Next by Date: Re: Incongruence? hmm...
  • Previous by thread: Re: ClearAll ?? or what
  • Next by thread: Re: ErrorListPlot and Tooltip