Re: Inserting Text Lines into GraphicsArray?
- To: mathgroup at smc.vnet.net
- Subject: [mg30298] Re: [mg30283] Inserting Text Lines into GraphicsArray?
- From: Omega Consulting <omega_consulting at yahoo.com>
- Date: Wed, 8 Aug 2001 01:33:54 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
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"]]