MathGroup Archive 2007

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

Search the Archive

Re: Adding description to plots

  • To: mathgroup at smc.vnet.net
  • Subject: [mg84081] Re: Adding description to plots
  • From: dflatin at rcn.com
  • Date: Sun, 9 Dec 2007 06:38:21 -0500 (EST)
  • References: <fjdsur$j4d$1@smc.vnet.net>

You could try the Tooltip function:

Steuerkeil[a_, s_, t_] := Exp[-s t] Sin[2 \[Pi] a t];
Plot[Evaluate[
  Table[Tooltip[Steuerkeil[0.1, s, t], s], {s, 0.2, 0.5, 0.05}]], {t,
  0, 30}, AxesLabel -> {"Laufzeit T", "Steuerkeil"}, PlotLabel -> s,
 PlotRange -> All,
 BaseStyle -> {FontFamily -> "Garamond", FontSize -> 12}]

In this case, when the cursor passes over a curve the value of s is
placed in a tooltip.

Dan

On Dec 8, 5:51 am, Frank Hechtner <frank.hecht... at rub.de> wrote:
> hi,
>
> i?m in trouble with a plot. The following functions generates a plot
> with several curves
>
> Plot[Evaluate[Table[Steuerkeil[0.1, s, t], {s, 0.2, 0.5, 0.05}]], {t,
>    0, 30}, AxesLabel -> {"Laufzeit T", "Steuerkeil"}, PlotLabel -> s,
>   BaseStyle -> {FontFamily -> "Garamond", FontSize -> 12}]
>
> Now i have the followung problem: i dont know which curve refers to
> which parameter of "s". I only see 6 differently coloured curves. Does
> Mathematica 6.0 provide such a function to add labels to each curve in
> the plot?
>
> Thanks for your help
>
> Frank



  • Prev by Date: Re: BarChart[{1,2},Frame->True]
  • Next by Date: Re: Get list of function variables?
  • Previous by thread: Re: Adding description to plots
  • Next by thread: Re: Adding description to plots