MathGroup Archive 2005

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

Search the Archive

Re: PlotLabel in two lines


Include \n in the string wherever you want a newline to be. Such as 

PlotLabel -> "Start the newline\nnow"

Similarly, \t will insert a tab.


Bob Hanlon

> 
> From: János <janos.lobb at yale.edu>
To: mathgroup at smc.vnet.net
> Date: 2005/01/13 Thu AM 03:12:13 EST
> To: mathgroup at smc.vnet.net
> Subject: [mg53487] [mg53469] PlotLabel in two lines
> 
> Sorry for my newbie question, but I cannot find in the Book, the way to 
> display text of label in two lines. Here is my PlotLabel:
> 
> PlotLabel -> StyleForm[StringJoin["Data transfer speed from Brady 
> Basement to Brady Basement between ",
>   ToString[ToDate[First[First[b0b0]]][[2]]], "/", 
> ToString[ToDate[First[First[b0b0]]][[3]]], "/",
>   ToString[ToDate[First[First[b0b0]]][[1]]], " and ", 
> ToString[ToDate[First[Last[b0b0]]][[2]]], "/",
>   ToString[ToDate[First[Last[b0b0]]][[3]]], "/", 
> ToString[ToDate[First[Last[b0b0]]][[1]]]], FontSize -> 14]
> 
> 
> The beginning and the end of the label is chopped off. So the question 
> is how to tell PlotLabel to start some text on a new line.
> 
> Thanks ahead,
> 
> János
> 
> 


  • Prev by Date: Re: Indexing a notebook library
  • Next by Date: Re: List element extraction
  • Previous by thread: Re: PlotLabel in two lines
  • Next by thread: List element extraction