Re: PlotLabel question
- To: mathgroup at smc.vnet.net
 - Subject: [mg14901] Re: [mg14892] PlotLabel question
 - From: Wagner Truppel <wtruppel at uci.edu>
 - Date: Wed, 25 Nov 1998 17:48:22 -0500
 - Sender: owner-wri-mathgroup at wolfram.com
 
Try
ListPlot[ Pdist, PlotLabel -> "time = " <> ToString[ N[time] ] <> ", "
<>  ToString[ xpect ] <> ", " <> ToString[ wfa[[xpect]] ] ];
The <> is a concatenation operator for strings. ToString[] converts a 
number to a string.
Wagner
At 10:12 AM -0500 on 11/23/98, Peter Jay Salzman wrote:
dear mathgroup,
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
to have as a label on my graph  where time, xpect and wfa are all
variables  can someone please tell me how to accomplish this?
thanks!
pete
--
Check out my homepage: http://landau.ucdavis.edu/psalzman/index.html
-=><=-+-+-=><=-+-+-=><=-+-+-=><=-+-+-=><=-+-+-=><=-+-+-=><=-+-+-=><=-+-+-=><=-
Do you hate spam? Join the Coalition Against Unsolicited Commercial
Email (CAUCE) at http://www.cauce.org. Actions speak louder than words.
Join Today!
     I BOYCOTT ANY COMPANY THAT USES MASS ADVERTISING ON THE INTERNET