Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2010

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

Search the Archive

Re: How to get Tooltip value

  • To: mathgroup at smc.vnet.net
  • Subject: [mg112898] Re: How to get Tooltip value
  • From: "Sjoerd C. de Vries" <sjoerd.c.devries at gmail.com>
  • Date: Tue, 5 Oct 2010 05:34:45 -0400 (EDT)
  • References: <i8c8rl$g73$1@smc.vnet.net>

f[x_] := 1/x^2;
ListPlot[Table[
  Tooltip[f[x], "Value of x is:" <> ToString[x]], {x, 1, 100}]]

would work, but I'd prefer using the Get Coordinates tool from the
Graphics/Drawing tools menu palette (or select graphic then shift-
period)

Cheers -- Sjoerd

 .On Oct 4, 12:04 pm, "James Brown" <J... at SETI.Net> wrote:
> Is there  a way to extract the value of a variable and display it with
> Tooltip?
> Example:
> f[x_] := 1/x^2
> Plot[Tooltip[f[x],"Value of x is:" "(wish I knew)"],{x,0,100}]
>
> Thanks... Jim



  • Prev by Date: Re: How to get Tooltip value
  • Next by Date: Re: How to get Tooltip value
  • Previous by thread: Re: How to get Tooltip value
  • Next by thread: Re: How to get Tooltip value