Re: PlotLabel with Assigned Variables
- To: mathgroup at smc.vnet.net
- Subject: [mg34536] Re: PlotLabel with Assigned Variables
- From: "John Jowett" <John.Jowett at cern.ch>
- Date: Mon, 27 May 2002 01:16:09 -0400 (EDT)
- Organization: CERN
- References: <acknrs$8ck$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Hello,
You made the algebraic product of a number and a string when you need to
make a string out of your number and put it where you want with StringJoin:
PlotLabel->"Surface = "<>ToString[f]
Hope this helps,
John Jowett
<Matthias.Bode at oppenheim.de> wrote in message
news:acknrs$8ck$1 at smc.vnet.net...
> Dear Colleagues,
>
> I want to insert a simple PlotLabel:
> In: f=7
> In: ..., PlotLabel->"Surface = "f, ...
>
> Desired output above the plot: Surface = 7
>
> Output obtained: 7 Surface =
>
> I used various combinations of {} and "" - to no avail.
>
> How?
>
> Best regards,
> Matthias Bode
> Sal. Oppenheim jr. & Cie. KGaA
> Koenigsberger Strasse 29
> D-60487 Frankfurt am Main
> GERMANY
> Tel.: +49(0)69 71 34 53 80
> Mobile: +49(0)172 6 74 95 77
> Fax: +49(0)69 71 34 95 380
> E-mail: matthias.bode at oppenheim.de
> Internet: http://www.oppenheim.de
>
>
>