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

Home » Public Forums » archive » Re: Writing 2D array to Text File
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: Writing 2D array to Text File [message #67757] Fri, 21 August 2009 13:47 Go to previous message
penteado is currently offline  penteado
Messages: 866
Registered: February 2018
Senior Member
Administrator
On Aug 21, 2:56 pm, Vikram <vikramivat...@gmail.com> wrote:
> Is there anyway that I can format my PRINTF to print 120 columns and
> 120 rows, for viewing in Excel. Any ideas?

If you are using IDL 7.1, you can also use write_csv to do everything
(not just in place of printf, but in place of openw,printf,free_lun/
close), as in:

write_csv,'file.csv',array
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: Bus Error on Mac when TVRD() is called in IDL 6.4
Next Topic: Loop Multiple Files and Rename

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

Current Time: Fri Oct 10 12:45:39 PDT 2025

Total time taken to generate the page: 0.16156 seconds