comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: formatting array output?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: formatting array output? [message #33861 is a reply to message #33860] Thu, 30 January 2003 08:39 Go to previous messageGo to previous message
Paul Van Delst[1] is currently offline  Paul Van Delst[1]
Messages: 1157
Registered: April 2002
Senior Member
James Kuyper wrote:
>
> Murat Maga wrote:
>>
>> Hi All,
>> I have an integer array (2000x1000) which I would like to write in file
>> in the typical matrix convention. I think IDL breaks the line at 80th
>> column and everything starts to look quite messy.
>> To format an array output, do I use the print/printf, or are there any
>> other tricks good to know?

Assuming ASCII output, use the WIDTH keyword in the OPENW statement. Explicit format
strings are handy too.

paulv

--
Paul van Delst
CIMSS @ NOAA/NCEP/EMC
Ph: (301)763-8000 x7274
Fax:(301)763-8545
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: last array index subscript
Next Topic: Re: Alpha Blending inside of Widgets / Graphic Objects in Widgets

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 13:26:25 PDT 2025

Total time taken to generate the page: 1.03916 seconds