Re: Figure Title
- To: mathgroup at smc.vnet.net
- Subject: [mg90955] Re: Figure Title
- From: Jean-Marc Gulliet <jeanmarc.gulliet at gmail.com>
- Date: Thu, 31 Jul 2008 06:03:52 -0400 (EDT)
- Organization: The Open University, Milton Keynes, UK
- References: <g6rnrv$7jk$1@smc.vnet.net>
Magician wrote:
> Hi I have an array of figures made using
> Show[ GraphicsArray[ {{..., ...}, {...}}, ....]]
> now i want to add the labels (a), (b), (c) ... to each of the
> subfigures.
> Next I want a title for each of them.
The plot option *PlotLabel* and the command *Labeled* should fulfill
your needs. For instance,
g1 = Plot[Sin[x], {x, 0, 2 Pi}, PlotLabel -> Sin[x]];
g2 = Plot[Cos[x], {x, 0, 2 Pi}, PlotLabel -> Cos[x]];
GraphicsArray[{Labeled[g1, "{a}"], Labeled[g2, "{b}"]}]
Regards,
-- Jean-Marc