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

Home » Public Forums » archive » print data in colunms
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
print data in colunms [message #94214] Sun, 26 February 2017 05:27 Go to previous message
Ali Gamal is currently offline  Ali Gamal
Messages: 98
Registered: June 2013
Member
Hi, all
I have data as three columns, I want to write these data in file as three columns
I used
;*****************************
openw,lun,'modelout.dat',/GET_LUN
restore,file='model.sav',/v
printf,lun,Z,tau,x,FORMAT='(F9.2,4x,F9.2,4x,f9.2)'
free_lun,lun
end
;*****************************

but it print z in two columns, else tau and x

I want it print column 1 is z, column 2 is tau, and column 3 is x, How can I do it ?
[Message index]
 
Read Message
Read Message
Previous Topic: Contour: difference between IDL 8.0 and IDL 8.4
Next Topic: save multiple bands in one file in IDL ENVI

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

Current Time: Wed Oct 08 11:27:29 PDT 2025

Total time taken to generate the page: 0.00353 seconds