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

Home » Public Forums » archive » how to force idl to export data in one line?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
how to force idl to export data in one line? [message #53794] Thu, 03 May 2007 10:20
lixiaoyao is currently offline  lixiaoyao
Messages: 49
Registered: April 2005
Member
Hi all
I want idl to output data into txt file, the data have seven
columns, but idl will export first five column into one line and
another two into seperate line.

openw,1,'source_countrate'
for i=0,n do printf, 1, data[0,i], data[1,i],
data[2,i],data[3,i],data[4,i],data[5,i],data[6,i]
close,1
I want it to be a 7xn table, so for same i, data[0,i], data[1,i],
data[2,i],data[3,i],data[4,i],data[5,i],data[6,i] are in one line.
Thanks in advance and I appreciate your help.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: problem with writing a 2D image .tiff
Next Topic: has anyone coded the Deming regression model for least-squares fitting into IDL?

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

Current Time: Fri Oct 10 03:20:41 PDT 2025

Total time taken to generate the page: 3.04209 seconds