MathGroup Archive 2002

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

Search the Archive

Re: long Framelabels

  • To: mathgroup at
  • Subject: [mg33277] Re: [mg33267] long Framelabels
  • From: BobHanlon at
  • Date: Wed, 13 Mar 2002 03:14:46 -0500 (EST)
  • Sender: owner-wri-mathgroup at

In a message dated 3/12/02 6:16:58 AM, hvdosten at writes:

>if there are pretty long labels I have seen that it is possible to force
>line-breakings with an "\n". But how can I do the centering of the parts
>of the lines??

If the labels use a monospace font

line1 = "This is a very very";
line2 = "long, but also necessary framelabel";

Plot[x^2+3x-4, {x,-5,5},
    Frame->True, Axes->False,
    FrameLabel->{StringJoin[Table[" ",
            line1]<>"\n"<>line2, "\[CapitalDelta]T  [nT]\n"},
    ImageSize -> 400];

Bob Hanlon
Chantilly, VA  USA

  • Prev by Date: Re: Ma. 3.0.0, Linux, keyboard problem
  • Next by Date: DeBruijn Graph
  • Previous by thread: long Framelabels
  • Next by thread: Re: long Framelabels