MathGroup Archive 2003

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

Search the Archive

Re: Formatted output

  • To: mathgroup at
  • Subject: [mg39256] Re: Formatted output
  • From: Mark Westwood <MarkCWestwood at>
  • Date: Thu, 6 Feb 2003 03:07:53 -0500 (EST)
  • References: <b1q704$34m$>
  • Sender: owner-wri-mathgroup at


I'd suggest that you format the output using the TableForm command in
the first instance.  Then select the cell containing the output table,
open the Option Inspector (on the Format menu), then Formatting Options,
then Table/Matrix/Palette Formatting, and start fiddling around.

You can make the same formatting selections by setting options for
TableForm, but the Option Inspector is a lot easier.

Good luck
Mark Westwood

Steve Gray wrote:
> Hello all,
>         I want to produce a table of text output (in the same notebook
> my code is in). The output consists of many rows of numbers, each row
> containing the same number of numbers. For example the entire output
> might consist of 500 rows each having 7 columns. It is important for
> understanding the output to have well-formatted columns of a constant
> width regardless of the number of digits in each number (which will be
> no more than say 9). In the columns the numbers should be
> right-aligned.
>         "Print" does not seem to have enough control to do this. It's
> much less flexible than the print statement in C. What I need is
> something like that. I've been reading the book, sections 2.7, 2.8,
> etc., and it looks like I will have to write an actual (small) program
> to do this.
>         I'd appreciate any suggestions or leads to a package where all
> this is already done.
>         Many thanks.
> Steve Gray

  • Prev by Date: Re: Options[] creation
  • Next by Date: Re: Interpolation over an irregular surface
  • Previous by thread: Re: Formatted output
  • Next by thread: Re: Formatted output