MathGroup Archive 2009

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

Search the Archive

Re: tooltip - evaluate function at point


"Cristina Ballantine" wrote:

> I would like to plot the solutions to an equation using ContourPlot and 
> add a tooltip that evaluates a different function at the points on the 
> solution. In particular, for the plot
>
> ContourPlot[Arg[Gamma[x + I*y]] == 0, {x, -10, 10}, {y, -10, 10}, PlotPoints -> 20]
>
> when the cursor is over a solution point I would like the ToolTip to 
> display the value of Gamma at that point. Is this possible? If so, any 
> suggestion is greatly appreciated. 
>
> Cristina
>

Do you want something like this:

ContourPlot[
 Tooltip[Arg[Gamma[x + I y]] == 0, ToString[N[Gamma[x + I y]]]],
 {x, -10, 10}, {y, -10, 10},  PlotPoints -> 20]

-- 
_________________________________________________________________
Peter Breitfeld, Bad Saulgau, Germany -- http://www.pBreitfeld.de


  • Prev by Date: Passing arrays to MathLink without extra memory allocation
  • Next by Date: running mathematica notebooks without interface
  • Previous by thread: tooltip - evaluate function at point
  • Next by thread: Re: tooltip - evaluate function at point