Prev: cant free ram..
Next: Framing a histogram
From: René Wuttke on 19 Apr 2010 05:59 Hey everyone, do you know if there is an easy way to label the rows and columns of a GraphicsGrid? like this: Label A Graph Graph Graph Label B Graph Graph Graph Label C Graph Graph Graph Label 1 Label 2 Label 3 Thanks, Ren=E9
From: Helen Read on 20 Apr 2010 05:49 On 4/19/2010 5:59 AM, Ren=E9 Wuttke wrote: > Hey everyone, > > do you know if there is an easy way to label the rows and columns of a > GraphicsGrid? like this: > > Label A Graph Graph Graph > Label B Graph Graph Graph > Label C Graph Graph Graph > Label 1 Label 2 Label 3 The only way I really know how to do it is to stick in extra rows / columns for the labels. I'd like to have RowLabels and ColumnLabels as options for Grid and GraphicsGrid. -- Helen Read University of Vermont
From: dh on 20 Apr 2010 05:51 On 19.04.2010 11:59, Ren� Wuttke wrote: > Hey everyone, > > do you know if there is an easy way to label the rows and columns of a > GraphicsGrid? like this: > > Label A Graph Graph Graph > Label B Graph Graph Graph > Label C Graph Graph Graph > Label 1 Label 2 Label 3 > > Thanks, > Ren=E9 > Hi, GraphicsGrid does not have a labeling mechanism like Table. Thererfore, you must include the labels into the data. here is a simple example: g = Plot[Sin[x], {x, 0, 10}]; GraphicsGrid[{{"label11", g, g}, {"label12", g, g}, {"", "label21", "label22"}}] Daniel -- Daniel Huber Metrohm Ltd. Oberdorfstr. 68 CH-9100 Herisau Tel. +41 71 353 8585, Fax +41 71 353 8907 E-Mail:<mailto:dh(a)metrohm.com> Internet:<http://www.metrohm.com>
From: Bob Hanlon on 20 Apr 2010 05:53 plts == Table[ Plot[a*x^b, {x, 0, 1}], {a, 3}, {b, 0, 2}]; rowLabels == Table["a == " <> ToString[a], {a, 3}]; columnLabels == Prepend[ Table["b == " <> ToString[b], {b, 0, 2}], ""]; Grid[ Append[ Transpose[ Prepend[Transpose[plts], rowLabels]], columnLabels]] Bob Hanlon ---- "Ren=C3=A9 Wuttke" <rene(a)wuttke.com> wrote: ========================== Hey everyone, do you know if there is an easy way to label the rows and columns of a GraphicsGrid? like this: Label A Graph Graph Graph Label B Graph Graph Graph Label C Graph Graph Graph Label 1 Label 2 Label 3 Thanks, Ren==E9
From: David Annetts on 20 Apr 2010 05:53
Hi Ren=E9 , > Hey everyone, > > do you know if there is an easy way to label the rows and columns of a > GraphicsGrid? like this: > > Label A Graph Graph Graph > Label B Graph Graph Graph > Label C Graph Graph Graph > Label 1 Label 2 Label 3 > > Thanks, > Ren==E9 > > Epilog would be your best bet. It's easy but tedious. D. |