MathGroup Archive 2007

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

Search the Archive

Dynamic PlotLabel in Math6?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg76121] Dynamic PlotLabel in Math6?
  • From: "W. Craig Carter" <ccarter at mit.edu>
  • Date: Wed, 16 May 2007 05:42:13 -0400 (EDT)

It would be convenient if this construction would work in 
math6:
Plot[{Annotation[Sin[x], "Sine", "Mouse"], Annotation[Cos[x], "Cosine", "Mouse"]}, {x, 0, 2 \[Pi]},
  PlotStyle -> Thick, PlotLabel -> Dynamic[MouseAnnotation[]]]
(i.e., use the label as a dynamic legend)

This kind of works, if you know a priori to click and 
pull up the pop-up window:
PopupWindow[
  Plot[{Annotation[Sin[x], "Sine", "Mouse"],
    Annotation[Cos[x], "Cosine", "Mouse"]}, {x, 0, 2 \[Pi]},
   PlotStyle -> Thick], Dynamic[MouseAnnotation[]]]

Any ideas on how to make the first construction work 
dynamically?

Craig


  • Prev by Date: Re: Hole/Disk function
  • Next by Date: Re: Hole/Disk function
  • Previous by thread: Re: Fit
  • Next by thread: Re: Dynamic PlotLabel in Math6?