Re: Tooltips and PlotMarkers
- To: mathgroup at smc.vnet.net
- Subject: [mg85486] Re: Tooltips and PlotMarkers
- From: Grischika at mail.ru
- Date: Mon, 11 Feb 2008 07:11:24 -0500 (EST)
- References: <fobjqi$mr6$1@smc.vnet.net>
On 6 =C6=C5=D7, 08:24, "Charles L. Snyder" <clsny... at gmail.com> wrote:
> Hi
>
> Hopefully a very simple question:
>
> mydata ={{-2369.87, -545.328, -573.34,
> -189.89, -54.31, -7943.86, -1382.6}, {"AAPL",
> =9A "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 =9A0 =9Ato 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. =9AI've tried a myriad of combinations without any luck...
>
> Thanks!
>
> CLS
Hello.
May be this helps you?
ListPlot[Thread[Tooltip @@ mydata]]