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

MathGroup Archive 2007

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

Search the Archive

Re: Tooltips in ContourPlot

  • To: mathgroup at smc.vnet.net
  • Subject: [mg81759] Re: [mg81726] Tooltips in ContourPlot
  • From: Syd Geraghty <sydgeraghty at mac.com>
  • Date: Wed, 3 Oct 2007 02:25:16 -0400 (EDT)
  • References: <200710020940.FAA28639@smc.vnet.net>

David,

I have had no luck after about 30 minutes scouring the documentation.

By analogy with Plot

Plot[Tooltip[Sin[x], "sine"], {x, 0, 10}]

should give you what you want but does not.

Try

ContourPlot[
  Tooltip[Re[Cosh[x + I y]] == Re[Sin[x + I y]], "expr1==expr2"], {x,  
-6,
   6}, {y, -6, 6}]

for an unexpected result.


I hope someone comes up with an answer because tooltips documentation  
for ContourPlot indicates that
it should work like tooltips for Graphics but it does not seem to.

Syd Geraghty B.Sc., M.Sc.
sydgeraghty at mac.com
San Jose, CA

On Oct 2, 2007, at 2:40 AM, David Park wrote:

> Is it possible to control what is displayed in Tooltips in contour  
> plots?
> For example, in the following plot:
>
> ContourPlot[
>  Re[Cosh[x + \[ImaginaryI] y]] ==
>   Re[Sin[x + \[ImaginaryI] y]], {x, -6, 6}, {y, -6, 6}]
>
> would it be possible to change the Tooltip to Re[Cosh[z]] == Re[Sin 
> [z]] or
> to some descriptive text?
>
> -- 
> David Park
> djmpark at comcast.net
> http://home.comcast.net/~djmpark/
>
>
>



  • Prev by Date: Re: help with polynomial solutions
  • Next by Date: Help with solving ODE
  • Previous by thread: Re: Tooltips in ContourPlot
  • Next by thread: Re: Re: Tooltips in ContourPlot