MathGroup Archive 1998

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

Search the Archive

Re: PlotLabel question

  • To: mathgroup at smc.vnet.net
  • Subject: [mg14913] Re: PlotLabel question
  • From: "Allan Hayes" <hay at haystack.demon.co.uk>
  • Date: Wed, 25 Nov 1998 17:48:33 -0500
  • References: <73d3lt$iac@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Peter Jay Salzman wrote in message <73d3lt$iac at smc.vnet.net>...
...
>when i run
>
>   ListPlot[Pdist,PlotLabel->{"time="N[time],xpect,wfa[[xpect]]}];
>
>the output has N[time] before time=.  clearly, i'd like to have
>something that looks like:
>
>time = 5, 23, 23+5I


Peter,
One way:

ListPlot[{1, 2, 1},
    PlotLabel ->
      StringForm["time = ``, ``, ``", N[time], xpect, wfa[[xpect]]] ];

Allan

---------------------
Allan Hayes
Mathematica Training and Consulting
www.haystack.demon.co.uk
hay at haystack.demon.co.uk
Voice: +44 (0)116 271 4198
Fax: +44 (0)870 164 0565




  • Prev by Date: Re: PlotLabel question
  • Next by Date: Re: HELP! I'm gonna go postal...
  • Previous by thread: Re: PlotLabel question
  • Next by thread: Re: PlotLabel question