Re: Vertical Headers in TableForm or Grid
- To: mathgroup at smc.vnet.net
- Subject: [mg118377] Re: Vertical Headers in TableForm or Grid
- From: Heike Gramberg <heike.gramberg at gmail.com>
- Date: Mon, 25 Apr 2011 07:27:59 -0400 (EDT)
You could use rotate: Grid[Prepend[RandomInteger[20, {10, 12}], Rotate[#, 90 Degree] & /@ {"January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"}], Alignment -> Bottom] Heike. On 24 Apr 2011, at 13:25, ADL wrote: > Dear all, > I would like to create column headers of a table as a vertical text. > In fact, the column headers are long but the cell contents are small, > so that in this way the table would look better (as normally done e.g. > in spreadsheets). > I could not find a way to do it. > Does anyone know if it is possible and how to achieve this in > Mathematica 8? > > ADL >