MathGroup Archive 2001

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

Search the Archive

Re: Inserting Text Lines into GraphicsArray?


At 07:02 PM 8/4/2001, aes wrote:
>Any simple way to insert lines of text between rows in a GraphicsArray?
>
>(Objective is to put title lines above rows, or text labels like "(a)",
>"(b)", "(c)" underneath rows.  I suppose I could generate a wide graphic
>with nothing but the text in it, and a small AspectRatio, and insert it
>as an additional row; but might there be an easier way?)

GraphicsArray is very limited in it's formatting. With inline cells, 
Graphics can be displayed inside a GridBox which is much more flexible.

test=Plot[x,{x,0,1}];

(* This is the Plot in an linine cell *)
inline=Cell[GraphicsData["PostScript",DisplayString[test]]];

(* Put the inline cell inside a GridBox *)
CellPrint[
   Cell[BoxData[GridBox[{{inline,inline},{"first plot","second plot"}}]],
     "Graphics"]]



  • Prev by Date: Compile[]
  • Next by Date: Problem with FourierTransform
  • Previous by thread: Re: Inserting Text Lines into GraphicsArray?
  • Next by thread: Partial fraction expansion