Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #1864 > unrolled thread

Vertical Headers in TableForm or Grid

Started byADL <alberto.dilullo@tiscali.it>
First post2011-04-24 12:25 +0000
Last post2011-04-25 11:29 +0000
Articles 2 — 2 participants

Back to article view | Back to comp.soft-sys.math.mathematica


Contents

  Vertical Headers in TableForm or Grid ADL <alberto.dilullo@tiscali.it> - 2011-04-24 12:25 +0000
    Re: Vertical Headers in TableForm or Grid Armand Tamzarian <mike.honeychurch@gmail.com> - 2011-04-25 11:29 +0000

#1864 — Vertical Headers in TableForm or Grid

FromADL <alberto.dilullo@tiscali.it>
Date2011-04-24 12:25 +0000
SubjectVertical Headers in TableForm or Grid
Message-ID<ip14r1$gep$1@smc.vnet.net>
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

[toc] | [next] | [standalone]


#1877

FromArmand Tamzarian <mike.honeychurch@gmail.com>
Date2011-04-25 11:29 +0000
Message-ID<ip3lul$r9i$1@smc.vnet.net>
In reply to#1864
On Apr 24, 10:25 pm, ADL <alberto.dilu...@tiscali.it> 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

Use Rotate:

TableForm[{{a, b}, {c, d}, {e, f}},
 TableHeadings -> {None, {Rotate["c1", \[Pi]/2], "c2"}}]

[toc] | [prev] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web