Re: Output to a file
- To: mathgroup at smc.vnet.net
- Subject: [mg13278] Re: [mg13215] Output to a file
- From: "Clemens Frey" <Clemens.Frey at uni-bayreuth.de>
- Date: Fri, 17 Jul 1998 03:18:24 -0400
- Sender: owner-wri-mathgroup at wolfram.com
Michaela:
use 'MatrixForm' instead of 'PaddedForm', e.g. for
A = {{0., 1., 2., 3.}, {1., 2., 3., 4.}, {2., 3., 4., 5.}, {3., 4., 5.,
6.}}
and (for convenience and test-purposes, open for default)
stream = OutputStream["stdout", 1]
write
Write[
stream,
MatrixForm[A]
]
Use options for getting other formats; try this, for example:
Write[
stream,
MatrixForm[A,TableDirections->{Row,Row},TableSpacing->{1,1}]
]
mfG
Clemens