Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > IDL > how to force id...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 181 of 228
Post > Topic >>

how to force idl to ex****t data in one line?

by lixiaoyao <liletian@[EMAIL PROTECTED] > May 3, 2007 at 10:20 AM

Hi all
  I want idl to output data into txt file, the data have seven
columns, but idl will ex****t 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.
 




 1 Posts in Topic:
how to force idl to export data in one line?
lixiaoyao <liletian@[E  2007-05-03 10:20:54 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Thu Jul 24 22:08:15 CDT 2008.