Re: tooltip - evaluate function at point
- To: mathgroup at smc.vnet.net
- Subject: [mg98731] Re: tooltip - evaluate function at point
- From: Peter Breitfeld <phbrf at t-online.de>
- Date: Fri, 17 Apr 2009 04:28:10 -0400 (EDT)
- References: <gs6pjo$h7i$1@smc.vnet.net>
"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