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

Home » Public Forums » archive » Writing in text file
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
Writing in text file [message #72697] Mon, 27 September 2010 02:05
d.poreh is currently offline  d.poreh
Messages: 406
Registered: October 2007
Senior Member
Folks
Hi;
I read some data like this:
-1.8750000000 78.8750000000 1.317
-1.8750000000 78.6250000000 1.284
-1.8750000000 78.3750000000 1.216
-1.8750000000 78.1250000000 1.148
-1.8750000000 77.8750000000 1.080
………………………………
And when I want to write it,
openw,1,'C.dat'
z=transpose(reform([data[0,*],data[1,*],data[2,*]],n_element s(data[2,*]),
3))
printf,1,z
close,1
it gives me something like this:
-1.87500 0.897000 71.6250
78.8750 9.87500 0.645000
1.31700 70.3750 21.8750
-1.87500 1.01300 71.3750
78.6250 9.87500 0.538000
1.28400 70.1250 21.8750
……….
Will you please help me out whit this?
Cheers
Dave
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: how to read a field from structured array
Next Topic: Re: IDL 8 Workbench crashing on SUSE Linux

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

Current Time: Wed Oct 08 17:35:50 PDT 2025

Total time taken to generate the page: 0.00516 seconds