|
[Date Index]
[Thread Index]
[Author Index]
RE: Help with formatting output
- To: mathgroup at smc.vnet.net
- Subject: [mg77678] RE: [mg77631] Help with formatting output
- From: "David Annetts" <davidannetts at aapt.net.au>
- Date: Fri, 15 Jun 2007 04:21:25 -0400 (EDT)
- References: <200706140922.FAA06668@smc.vnet.net>
Hi Diana,
> 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?
Two hints ....
1. You don't need the other two programs for this task
2. Try TableForm[lst, TableHeadings -> {Automatic, None}]
Regards,
Dave.
Prev by Date:
ParametricPlot3D between two curves
Next by Date:
Re: ReplaceRepeated info
Previous by thread:
Re: Help with formatting output
Next by thread:
Re: Help with formatting output
|