Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2007
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2007

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Help with formatting output

  • To: mathgroup at smc.vnet.net
  • Subject: [mg77706] Re: [mg77631] Help with formatting output
  • From: DrMajorBob <drmajorbob at bigfoot.com>
  • Date: Fri, 15 Jun 2007 04:35:53 -0400 (EDT)
  • References: <28914982.1181814423522.JavaMail.root@m35>
  • Reply-to: drmajorbob at bigfoot.com

NOTE FOR WRI: TableAlignments doesn't work in v6 at this machine. At all.

TableForm[{35, 36, 2, 4, 5}, TableAlignments -> Right,
  TableHeadings -> {Automatic, None}]

Bobby

On Thu, 14 Jun 2007 04:22:47 -0500, Diana <diana.mecum at gmail.com> wrote:

> Mathematica junkies,
>
> I would like to format:
>
> {35,36,2,4,5} as
>
> 1 35
> 2 36
> 2 2
> 3 4
> 5 5
>
> I have a list, such as {35,36,2,4,5}, and want two-column output,
> where the first column is the position n the list, and the second
> column is the actual list. I want just a space between the columns.
>
> I have Mathematica, TextPad, and Dreamweaver at my disposal. Can
> someone give me a hint as to an easy way to do this? Thanks, Diana M.
>
>
>



-- 
DrMajorBob at bigfoot.com


  • Prev by Date: Re: Help with formatting output
  • Next by Date: Re: Problems updating Graphics3D Polygons
  • Previous by thread: Re: Help with formatting output
  • Next by thread: Re: Help with formatting output