How to save an floating-point array into a .dat file? [message #38811] |
Sun, 28 March 2004 11:22 |
Mathias Brandt
Messages: 4 Registered: March 2004
|
Junior Member |
|
|
Hello everybody!
I am rather unexperienced with idl file input/output routines, and hopefully
my question does not appear too stupid. I have written a program that
analyzes an image for a number of defined categories and stores the results
in a customized event array, given by
a x b
where a is the list of predefined categories to analyze and b the number of
events per image.
The program saves the array with the following sequence
...
openw,1,'resultfile.dat'
printf,1,resultarr
close,1
...
17 categories of parameters are retrieved from every image (and therefore 17
columns of data) and I need all 17 items per event in the same line, so
everything can be imported into an Origin-table to calculate statistics.
Unfortunately, the line is clipped after 6 items and continued in another
line.
My question: How can I change the output format to have a file with 17
columns and the proper number of lines (without line-clipping after 6 items
per line)
Thank you very much for a good advice.
M.C. Brandt
|
|
|