Re: Formating with TableForm
- To: mathgroup at smc.vnet.net
- Subject: [mg57398] Re: Formating with TableForm
- From: dh <dh at metrohm.ch>
- Date: Thu, 26 May 2005 04:32:09 -0400 (EDT)
- References: <d6us9e$j1c$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Hi Jeffry,
Your message is mutilated, see below. It is tricky to send formatted
output in a E-mail.
Anyway, I assume you are having problems with TableForm and NumberForm.
E.g. we need some data:
t = Table[Random[], {3}, {3}];
The follwoing works:
NumberForm[TableForm[t], 3]
However, not so the following where TableForm and NumberForm are reversed:
TableForm[NumberForm[t, 3]]
Sincerely, Daniel
Jeffrey Pattavina wrote:
> I am trying to format a table. Here is a simple example.
> I creat a table of numbers called T.
>
>
> If I apply the Table Form operator everything works fine and the result
> displays
> in nice table format as shown below
>
>
>
> If I try to foarmat the numbers in the table using the MAP and the
> NumberForm
> commads I get the following
>
>
> Now when I use the Table Form operator it does not work.
>
>
> ----------------------------------------------------------------------------
> ----------------------------------------------
> Can anyone help?
>
> Q1: Is this a bug in Mathematica ?
> Q2: How can I format table info and still be able to use the TableForm
> command ?
>
> Regards,
>
> Jeffrey S. Pattavina
>
> 860-343-0482 (home)
> 860-836-9379 (cell)
> ptvn at sbcglobal.net
>
>
>