Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2005
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2005

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

Search the Archive

Re: PlotLabel in two lines

  • To: mathgroup at smc.vnet.net
  • Subject: [mg53487] Re: [mg53469] PlotLabel in two lines
  • From: Bob Hanlon <hanlonr at cox.net>
  • Date: Fri, 14 Jan 2005 08:54:33 -0500 (EST)
  • Reply-to: hanlonr at cox.net
  • Sender: owner-wri-mathgroup at wolfram.com

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