Re: PlotLabel question
- To: mathgroup at smc.vnet.net
- Subject: [mg14919] Re: [mg14892] PlotLabel question
- From: Des Penny <penny at suu.edu>
- Date: Wed, 25 Nov 1998 17:48:40 -0500
- Organization: Southern Utah University
- References: <199811231512.KAA16364@smc.vnet.net.>
- Sender: owner-wri-mathgroup at wolfram.com
Hi Peter:
This should work for you:
time=5;xpect=3; wfa={a, b,c,d};
string=StringJoin["time = ", ToString[N[time]],", ",ToString[xpect],",
",
ToString[wfa[[xpect]]] ];
ListPlot[{3,2,5}, PlotLabel->string]
Cheers,
Des Penny
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
- References:
- PlotLabel question
- From: Peter Jay Salzman <psalzman@landau.ucdavis.edu>
- PlotLabel question