MathGroup Archive 2008

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

Search the Archive

Re: Tooltips and PlotMarkers


Hi,

Graphics[
  MapIndexed[Tooltip[Point[Append[#2, #1[[1]]]], #1[[2]]] &,
   Transpose[mydata]],
  Frame -> True, AspectRatio -> 1/GoldenRatio]

may help you.

Regards
   Jens

Charles L. Snyder wrote:
> Hi
> 
> Hopefully a very simple question:
> 
> mydata ={{-2369.87, -545.328, -573.34,
> -189.89, -54.31, -7943.86, -1382.6}, {"AAPL",
>   "ININ", "DVY", "EWH", "EWJ", "FXI", "IAU"}}
> 
> ListPlot[Tooltip[mydata]]
> 
> gives me the numeric data on the y - axis, and the numerical order in
> the array of the String values - in this example, there are 7 data
> points, so the x - axis ranges  0  to 7.
> 
> I would like to have each datapoint be the appropriate string value,
> and the (rollover) tooltip be the numerical values. The axes are fine
> as is.  I've tried a myriad of combinations without any luck...
> 
> 
> Thanks!
> 
> CLS
> 


  • Prev by Date: Re: Domains
  • Next by Date: Re: Tooltips and PlotMarkers
  • Previous by thread: Tooltips and PlotMarkers
  • Next by thread: Re: Tooltips and PlotMarkers