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

Home » Public Forums » archive » Writing an 8 Column array into a data file
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Writing an 8 Column array into a data file [message #87562 is a reply to message #87560] Sat, 15 February 2014 01:29 Go to previous messageGo to previous message
Mats Löfdahl is currently offline  Mats Löfdahl
Messages: 263
Registered: January 2012
Senior Member
Den lördagen den 15:e februari 2014 kl. 05:14:01 UTC+1 skrev drewc...@gmail.com:
> I'm trying to write a large array into a data file.
>
> The array is 8 columns with up to 6000 rows. I have tried to do this using printf mainly. Now below you will see a main problem with one of the columns, but overall the 8 columns keep stacking. I can't seem to get 8 individual columns with 6000 rows, each column having the correct set of data. Instead I get 8 columns where the data is being written horizontally instead of vertically.

Instead of 8 columns and 6000 rows you get 8 rows and 6000 columns? Maybe you want to do printf, transpose(data) rather than printf, data.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: MPFIT2DFUN- use for a time series of images?
Next Topic: Adding Legends to Coyote Graphics Windows

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

Current Time: Thu Oct 09 21:34:24 PDT 2025

Total time taken to generate the page: 0.00222 seconds