Re: PlotLabel with Assigned Variables
- To: mathgroup at smc.vnet.net
- Subject: [mg34538] Re: PlotLabel with Assigned Variables
- From: "Allan Hayes" <hay at haystack.demon.co.uk>
- Date: Mon, 27 May 2002 01:16:13 -0400 (EDT)
- References: <acknrs$8ck$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Matthias: Three ways: k=7; Plot[x, {x,0,1}, PlotLabel ->"Line = "<>ToString[k] ] Plot[x, {x,0,1}, PlotLabel \[Rule]SequenceForm["Line = ",k] ] Plot[x, {x,0,1}, PlotLabel \[Rule]StringForm["Line = ``",k] ] -- Allan --------------------- Allan Hayes Mathematica Training and Consulting Leicester UK www.haystack.demon.co.uk hay at haystack.demon.co.uk Voice: +44 (0)116 271 4198 Fax: +44 (0)870 164 0565 <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 > > >