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


Groups > comp.soft-sys.math.mathematica > #1877

Re: Vertical Headers in TableForm or Grid

From Armand Tamzarian <mike.honeychurch@gmail.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Vertical Headers in TableForm or Grid
Date 2011-04-25 11:29 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <ip3lul$r9i$1@smc.vnet.net> (permalink)
References <ip14r1$gep$1@smc.vnet.net>

Show all headers | View raw


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"}}]

Back to comp.soft-sys.math.mathematica | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

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

csiph-web