MathGroup Archive 2009

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

Search the Archive

Bug: ListPlot and Tooltip

  • To: mathgroup at smc.vnet.net
  • Subject: [mg102500] Bug: ListPlot and Tooltip
  • From: dr DanW <dmaxwarren at gmail.com>
  • Date: Tue, 11 Aug 2009 04:05:56 -0400 (EDT)
  • References: <h5bk30$hja$1@smc.vnet.net> <h5jdkb$1a2$1@smc.vnet.net>

Nice improvement.  Thanks.

In testing the new function, I discovered a bug in Mathematica 7 (at
least, not 7.0 for Mac OS X x86 (64-bit) (February 19, 2009) ).
Tooltip[] is not supported in ListPlot:

In[12]:= InputForm[ListPlot[Tooltip[Range[4], "Data"]]]

Out[12]//InputForm=
Graphics[{Hue[0.67, 0.6, 0.6], Point[{{1., 1.}, {2., 2.}, {3., 3.},
{4.,
   4.}}]}, {AspectRatio -> GoldenRatio^(-1), Axes -> True,
  AxesOrigin -> {0, Automatic}, PlotRange -> Automatic,
  PlotRangeClipping -> True}]

Notice that the data points are not wrapped in Tooltip.  Oddly,
ListLogPlot correctly supports Tooltip.


  • Prev by Date: Re: help import latex file with mathematica 7
  • Next by Date: Alpha and copyright
  • Previous by thread: Re: Number of Words in a String
  • Next by thread: Re: Bug: ListPlot and Tooltip