TableForm vs. Grid (v.6)
- To: mathgroup at smc.vnet.net
- Subject: [mg76953] TableForm vs. Grid (v.6)
- From: Helen Read <hpr at together.net>
- Date: Wed, 30 May 2007 05:33:06 -0400 (EDT)
- Reply-to: HPR <read at math.uvm.edu>
My calculus students frequently make tables for all kinds of purposes.
In past versions of Mathematica, we liked to display tables in
TableForm, with TableHeadings identifying the columns.
Say we have a curve defined parametrically:
(* make a table *)
(* Old way: display it in TableForm *)
In 6.0, however, the default spacing between columns of the table is a
bit tight (much tighter than it used to be), so we'd probably end up
doing something like the following.
Of course, now we can now use Grid, which is far more flexible than
TableForm ever was. However, there is no obvious way to label the rows
or columns in a Grid, so we are faced with something like the following.
This is most likely the way we will do it in class. I think, though,
that a nice addition to Grid would be options for row and column labels,
with None as the default. (If we had options for RowLabels and
ColumnLabels for Grid, we could dispense with TableForm entirely.)
University of Vermont
Prev by Date:
String to List
Next by Date:
Re: Iterate through a list
Previous by thread:
Re: TableForm vs. Grid (v.6)
Next by thread:
Re: Re: TableForm vs. Grid (v.6)