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

MathGroup Archive 2008

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

Search the Archive

Re: Tooltips and PlotMarkers

  • To: mathgroup at smc.vnet.net
  • Subject: [mg85335] Re: Tooltips and PlotMarkers
  • From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
  • Date: Wed, 6 Feb 2008 05:43:18 -0500 (EST)
  • Organization: Uni Leipzig
  • References: <fobjqi$mr6$1@smc.vnet.net>
  • Reply-to: kuska at informatik.uni-leipzig.de

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